diff options
author | Martin Sperl <kernel@martin.sperl.org> | 2015-03-29 16:03:25 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-29 09:53:30 -0700 |
commit | e3a2be3030e2fec27a2577d3c52203da090a4366 (patch) | |
tree | 91d1180ee0742a9403c2448cd1ceb5d1d967653c /net/dsa/dsa.c | |
parent | 1e4df62d46fa45109123f2b265b2d8146031db16 (diff) | |
download | linux-stable-e3a2be3030e2fec27a2577d3c52203da090a4366.tar.gz linux-stable-e3a2be3030e2fec27a2577d3c52203da090a4366.tar.bz2 linux-stable-e3a2be3030e2fec27a2577d3c52203da090a4366.zip |
spi: bcm2835: fill FIFO before enabling interrupts to reduce interrupts/message
To reduce the number of interrupts/message we fill the FIFO before
enabling interrupts - for short messages this reduces the interrupt count
from 2 to 1 interrupt.
There have been rare cases where short (<200ns) chip-select switches with
native CS have been observed during such operation, this is why this
optimization is only enabled for GPIO-CS.
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Tested-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions