From: Martin Sperl Date: Sun, 29 Mar 2015 14:03:25 +0000 (+0200) Subject: spi: bcm2835: fill FIFO before enabling interrupts to reduce interrupts/message X-Git-Tag: omap-for-v4.2/o2_dc~166^2~5^4~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3a2be3030e2;p=pandora-kernel.git 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 Tested-by: Martin Sperl Signed-off-by: Mark Brown --- Reading git-diff-tree failed