diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2021-01-14 17:42:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-23 15:58:00 +0100 |
commit | e2d69319b713c30ca21428c3955a79f3a7bf6c23 (patch) | |
tree | d156c3725758e9f8f2a50e0d478d4c41d3c1ccc3 /init/do_mounts.c | |
parent | d04c7938d0f897dcc30c533d038937891c8d6054 (diff) |
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>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions