diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2021-01-14 17:42:17 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-15 14:14:38 +0000 |
commit | 4d163ad79b155c71bf30366dc38f8d2502f78844 (patch) | |
tree | 8df403ad3f7926fb5b7f51533b5d39ac3a04773c /arch/mips/net | |
parent | 7a2da5d7960a64ee923fe3e31f01a1101052c66f (diff) | |
download | linux-4d163ad79b155c71bf30366dc38f8d2502f78844.tar.bz2 |
spi: cadence: cache reference clock rate during probe
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>
Diffstat (limited to 'arch/mips/net')
0 files changed, 0 insertions, 0 deletions