aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi.c
diff options
context:
space:
mode:
authorAndrew Bresticker <abrestic@chromium.org>2014-12-22 11:35:16 -0800
committerMark Brown <broonie@kernel.org>2014-12-24 12:20:22 +0000
commit549858ce76e31d5e2139e5588df976ee42607a0d (patch)
treef467c9287a20c9b74fe3328963cb2456f45bc1f4 /drivers/spi/spi.c
parentspi: img-spfi: Increase DMA burst size (diff)
downloadlinux-dev-549858ce76e31d5e2139e5588df976ee42607a0d.tar.xz
linux-dev-549858ce76e31d5e2139e5588df976ee42607a0d.zip
spi: img-spfi: Select FIFO based on transfer length
Since the 32-bit FIFO is deeper (64 bytes) than the 8-bit FIFO (16 bytes), use the 32-bit FIFO when there are at least 32 bits remaining to be transferred in PIO mode or when the transfer length is 32-bit aligned in DMA mode. Signed-off-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions