summaryrefslogtreecommitdiff
path: root/drivers/uwb/hwa-rc.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2016-10-27 21:27:56 +0200
committerMark Brown <broonie@kernel.org>2016-10-28 19:39:47 +0100
commite508cea45bc31de87b35180a9ba5ef9572ffde3f (patch)
tree2dbb4a80450a4693d6eefba97ec05a16469d6b7e /drivers/uwb/hwa-rc.c
parentdb1b049fad8b12062edffade8272d604b4019eb7 (diff)
spi: fsl-espi: make better use of the RX FIFO
So far an interrupt is triggered whenever there's at least one byte in the RX FIFO. This results in a unnecessarily high number of interrupts. Change this to generate an interrupt if - RX FIFO is half full (except if all bytes to read fit into the RX FIFO anyway) - end of transfer has been reached This way the number of interrupts can be significantly reduced. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/uwb/hwa-rc.c')
0 files changed, 0 insertions, 0 deletions