]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
dmaengine: sun6i: fix the uninitialized value for v_lli
authorHao Zhang <hao5781286@gmail.com>
Sat, 19 Nov 2016 16:43:56 +0000 (00:43 +0800)
committerVinod Koul <vinod.koul@intel.com>
Fri, 25 Nov 2016 06:19:38 +0000 (11:49 +0530)
commit644e906f923957557369d7f50ab72d5d9cc3cf28
treed592f6daff346ce1f9e3d57cc3859b9ddb827b0d
parent812608d1961c48916c758df60eef7abd8ff8b59e
dmaengine: sun6i: fix the uninitialized value for v_lli

dma_pool_alloc does not initialize the value of the newly allocated
block for the v_lli, and the uninitilize value make the tests failed
which is on pine64 with dmatest.
we can fix it just change the "|=" to "=" for the v_lli->cfg.

Signed-off-by: Hao Zhang <hao5781286@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sun6i-dma.c