summaryrefslogtreecommitdiff
path: root/mausezahn/.gitignore
blob: 32aad4d4537ef26d0c36abbff8d7e36d246f1a91 (plain)
1
2
3
4
*.*

!.gitignore
!Makefile
/tr>mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2016-10-27 21:27:35 +0200
committerMark Brown <broonie@kernel.org>2016-10-28 19:39:47 +0100
commitf05689a662d47896da742f5338eab183ed692c1c (patch)
tree814c068ff1561379da6d836f51f5146e9f6164d2
parente508cea45bc31de87b35180a9ba5ef9572ffde3f (diff)
spi: fsl-espi: fix and improve reading from RX FIFO
Currently the driver polls in the ISR for enough bytes in the RX FIFO. An ISR should never do this. Change it to read as much as possible whenever the ISR is called. This also allows to significantly simplify the code. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat
-rw-r--r--drivers/spi/spi-fsl-espi.c67
1 files changed, 20 insertions, 47 deletions
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c