diff options
author | 2014-09-03 13:44:26 -0700 | |
---|---|---|
committer | 2014-09-04 23:54:11 +0100 | |
commit | 62946172c81578477fcbb26478aebaa31353488d (patch) | |
tree | 9e274b45ca36ec40a60921ff1d96641b10ca1241 /Documentation/devicetree/bindings/spi/spi-rockchip.txt | |
parent | spi/rockchip: Fix the wait_for_idle() timeout (diff) | |
download | linux-dev-62946172c81578477fcbb26478aebaa31353488d.tar.xz linux-dev-62946172c81578477fcbb26478aebaa31353488d.zip |
spi/rockchip: Don't warn if SPI is busy but disabled
The reference manual from Rockchip claims this about the BSF (SPI Busy
Flag):
* 0 - SPI is idle or disabled
* 1 - SPI is actively transferring data
The above doesn't quite appear to be true. Specifically I found the
busy bit set when SPI was disabled. Let's change the WARN_ON() so we
only check the busy bit if the controller was enabled.
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/spi-rockchip.txt')
0 files changed, 0 insertions, 0 deletions