diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2014-12-22 22:35:16 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-24 15:20:22 +0300 |
commit | 549858ce76e31d5e2139e5588df976ee42607a0d (patch) | |
tree | f467c9287a20c9b74fe3328963cb2456f45bc1f4 /arch/arm/mach-shmobile/setup-rcar-gen2.c | |
parent | 76fe5e95fac3c93bdff9102480e5ba823ba656c3 (diff) | |
download | linux-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 'arch/arm/mach-shmobile/setup-rcar-gen2.c')
0 files changed, 0 insertions, 0 deletions