summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-02-07 05:44:45 +0300
committerVinod Koul <vkoul@kernel.org>2020-02-13 18:08:53 +0300
commit6ebb827f7aad504ea438d0d2903293bd6f904463 (patch)
treeaad2bbbe3258eb78093faa3ac7eb74ef989614e6 /drivers/platform
parent5ca3364a83b2d78590c3acd40a9edc716465f7af (diff)
downloadlinux-6ebb827f7aad504ea438d0d2903293bd6f904463.tar.xz
dmaengine: sun4i: use 'linear_mode' in sun4i_dma_prep_dma_cyclic
drivers/dma/sun4i-dma.c: In function sun4i_dma_prep_dma_cyclic: drivers/dma/sun4i-dma.c:672:24: warning: variable linear_mode set but not used [-Wunused-but-set-variable] commit ffc079a4accc ("dmaengine: sun4i: Add support for cyclic requests with dedicated DMA") involved this, explicitly using the value makes the code more readable. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20200207024445.44600-1-yuehaibing@huawei.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions