commit | 549858ce76e31d5e2139e5588df976ee42607a0d | [log] [tgz] |
---|---|---|
author | Andrew Bresticker <abrestic@chromium.org> | Mon Dec 22 11:35:16 2014 -0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Dec 24 12:20:22 2014 +0000 |
tree | f467c9287a20c9b74fe3328963cb2456f45bc1f4 | |
parent | 76fe5e95fac3c93bdff9102480e5ba823ba656c3 [diff] |
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>