aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi/spi-fsl-spi.c
diff options
context:
space:
mode:
authorGravatar Vladimir Oltean <olteanv@gmail.com> 2019-08-23 00:15:13 +0300
committerGravatar Mark Brown <broonie@kernel.org> 2019-08-23 12:01:44 +0100
commitc55be305915974db160ce6472722ff74f45b8d4e (patch)
tree70ca96812342f9b83b802e39dd0e1aab2dbc9a73 /drivers/spi/spi-fsl-spi.c
parentspi: spi-fsl-dspi: Remove impossible to reach error check (diff)
downloadlinux-c55be305915974db160ce6472722ff74f45b8d4e.tar.gz
linux-c55be305915974db160ce6472722ff74f45b8d4e.tar.bz2
linux-c55be305915974db160ce6472722ff74f45b8d4e.zip
spi: spi-fsl-dspi: Use poll mode in case the platform IRQ is missing
On platforms like LS1021A which use TCFQ mode, an interrupt needs to be processed after each byte is TXed/RXed. I tried to make the DSPI implementation on this SoC operate in other, more efficient modes (EOQ, DMA) but it looks like it simply isn't possible. Therefore allow the driver to operate in poll mode, to ease a bit of this absurd amount of IRQ load generated in TCFQ mode. Doing so reduces both the net time it takes to transmit a SPI message, as well as the inter-frame jitter that occurs while doing so. Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Link: https://lore.kernel.org/r/20190822211514.19288-5-olteanv@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-spi.c')
0 files changed, 0 insertions, 0 deletions