Michael Hennerich cfca01ab14 spi: cadence: cache reference clock rate during probe
commit 4d163ad79b155c71bf30366dc38f8d2502f78844 upstream.

The issue is that using SPI from a callback under the CCF lock will
deadlock, since this code uses clk_get_rate().

Fixes: c474b38665463 ("spi: Add driver for Cadence SPI controller")
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20210114154217.51996-1-alexandru.ardelean@analog.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-23 15:49:57 +01:00
..
2021-01-17 14:04:22 +01:00
2020-09-09 19:04:23 +02:00
2021-01-19 18:22:36 +01:00
2021-01-17 14:04:22 +01:00
2021-01-09 13:43:47 +01:00
2020-12-30 11:26:04 +01:00
2021-01-06 14:44:59 +01:00