commit | f05689a662d47896da742f5338eab183ed692c1c | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Thu Oct 27 21:27:35 2016 +0200 |
committer | Mark Brown <broonie@kernel.org> | Fri Oct 28 19:39:47 2016 +0100 |
tree | 814c068ff1561379da6d836f51f5146e9f6164d2 | |
parent | e508cea45bc31de87b35180a9ba5ef9572ffde3f [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>