diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2014-12-22 20:35:16 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-24 13:20:22 +0100 |
commit | 549858ce76e31d5e2139e5588df976ee42607a0d (patch) | |
tree | f467c9287a20c9b74fe3328963cb2456f45bc1f4 /drivers/spi/spi-imx.c | |
parent | spi: img-spfi: Increase DMA burst size (diff) | |
download | linux-549858ce76e31d5e2139e5588df976ee42607a0d.tar.xz linux-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-imx.c')
0 files changed, 0 insertions, 0 deletions