Michael Hennerich 3fe6036663 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 16:04:05 +01:00
..
2020-10-30 14:51:01 -07:00
2021-01-06 14:56:56 +01:00
2020-11-16 15:02:33 -08:00
2020-12-03 10:00:23 +01:00
2021-01-19 18:27:26 +01:00
2021-01-17 14:17:03 +01:00
2021-01-09 13:46:22 +01:00
2020-10-25 11:12:31 -07:00
2020-10-27 19:23:04 +01:00
2020-12-30 11:53:53 +01:00
2021-01-17 14:17:02 +01:00
2020-10-24 10:39:22 -07:00
2020-10-22 12:58:21 -07:00
2020-11-27 14:48:03 -08:00