Michael Hennerich 97174b1e6a 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:38:19 +01:00
..
2020-11-10 10:23:51 +01:00
2021-01-17 13:57:55 +01:00
2021-01-23 15:38:17 +01:00
2020-11-10 10:23:53 +01:00
2020-12-29 13:45:00 +01:00
2020-02-28 15:42:33 +01:00