diff options
author | Jiada Wang <jiada_wang@mentor.com> | 2017-01-06 15:22:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-01-06 21:09:22 +0300 |
commit | 66459c5a50a787c474b734b586328f7111ab6df0 (patch) | |
tree | 88df0f0674456138bfc9842585e371ee8b82fe82 /.gitignore | |
parent | fafd67940774733fa97f4b09412aea6981b82e0a (diff) | |
download | linux-66459c5a50a787c474b734b586328f7111ab6df0.tar.xz |
spi: imx: adjust watermark level according to transfer length
Previously DMA watermark level is configured to fifosize/2,
DMA mode can be used only when transfer length can be divided
by 'watermark level * bpw', which makes DMA mode not pratical.
This patch adjusts watermark level to largest number (no bigger
than fifosize/2) which can divide 'tranfer length / bpw' for
each transfer.
Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions