]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pl022: Remove incorrect TxFIFO full reporting
authorAlexander Sverdlin <alexander.sverdlin@nokia.com>
Fri, 27 Feb 2015 15:30:01 +0000 (16:30 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 6 Mar 2015 19:45:17 +0000 (19:45 +0000)
commit947d8133f81a80268892cee981c136212af8d525
tree33be7c27f896fe3197ab3fbc1cb37d8be140e02a
parentb7d65746744b343701de14ca433982a3229390be
spi: pl022: Remove incorrect TxFIFO full reporting

According to PL022 specification, TNF bit states for "Transmit FIFO Not full".
So the logic here is inverted. But "Receive Overrun Interrupt", which is handled
here, is only triggered on Rx errors. So instead of fixing the if statement,
remove the whole message.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pl022.c