aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorJiada Wang <[email protected]>2017-01-06 04:22:18 -0800
committerMark Brown <[email protected]>2017-01-06 18:09:22 +0000
commit66459c5a50a787c474b734b586328f7111ab6df0 (patch)
tree88df0f0674456138bfc9842585e371ee8b82fe82 /lib/test-string_helpers.c
parentfafd67940774733fa97f4b09412aea6981b82e0a (diff)
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions