diff options
author | Martin Sperl <kernel@martin.sperl.org> | 2015-03-23 15:11:53 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-23 11:48:58 -0700 |
commit | 4adf312976ef2b72830b83f212fef3f6a36513a6 (patch) | |
tree | c3532ec523a70e1127abb8e3134d58c8e4c1979e /sound | |
parent | 342f948a166c2a17b0e187e3fc2618dc561842f3 (diff) | |
download | linux-4adf312976ef2b72830b83f212fef3f6a36513a6.tar.gz |
spi: bcm2835: fill/drain SPI-fifo as much as possible during interrupt
Implement the recommendation from the BCM2835 data-sheet
with regards to polling drivers to fill/drain the FIFO as much data as possible
also for the interrupt-driven case (which this driver is making use of).
This means that for long transfers (>64bytes) we need one interrupt
every 64 bytes instead of every 12 bytes, as the FIFO is 16 words (not bytes) wide.
Tested with mcp251x (can bus), fb_st7735 (TFT framebuffer device)
and enc28j60 (ethernet) drivers.
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions