From: Doug Anderson Date: Wed, 3 Sep 2014 20:44:26 +0000 (-0700) Subject: spi/rockchip: Don't warn if SPI is busy but disabled X-Git-Tag: fixes-for-v3.18-merge-window~111^2^6~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62946172c81578477fcbb26478aebaa31353488d;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed