summaryrefslogtreecommitdiffstats
path: root/drivers/input/rmi4/rmi_f34.h
diff options
context:
space:
mode:
authorEric Long <eric.long@unisoc.com>2019-05-06 09:28:31 +0200
committerVinod Koul <vkoul@kernel.org>2019-05-21 15:53:54 +0200
commit89d03b3c126d683f7b2cd5b07178493993d12448 (patch)
treedad0f4fb6bd4999b0bdaf3f926d00b559dd6de1b /drivers/input/rmi4/rmi_f34.h
parentdmaengine: sprd: Fix the incorrect start for 2-stage destination channels (diff)
downloadlinux-89d03b3c126d683f7b2cd5b07178493993d12448.tar.xz
linux-89d03b3c126d683f7b2cd5b07178493993d12448.zip
dmaengine: sprd: Fix block length overflow
The maximum value of block length is 0xffff, so if the configured transfer length is more than 0xffff, that will cause block length overflow to lead a configuration error. Thus we can set block length as the maximum burst length to avoid this issue, since the maximum burst length will not be a big value which is more than 0xffff. Signed-off-by: Eric Long <eric.long@unisoc.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/input/rmi4/rmi_f34.h')
0 files changed, 0 insertions, 0 deletions