summaryrefslogtreecommitdiff
path: root/drivers/spi/spi.c
diff options
context:
space:
mode:
authorAndrew Bresticker <abrestic@chromium.org>2014-12-22 19:35:16 (GMT)
committerMark Brown <broonie@kernel.org>2014-12-24 12:20:22 (GMT)
commit549858ce76e31d5e2139e5588df976ee42607a0d (patch)
treef467c9287a20c9b74fe3328963cb2456f45bc1f4 /drivers/spi/spi.c
parent76fe5e95fac3c93bdff9102480e5ba823ba656c3 (diff)
downloadlinux-549858ce76e31d5e2139e5588df976ee42607a0d.tar.xz
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