]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: sun6i: fix the uninitialized value for v_lli
authorAxl-zhang <hao5781286@gmail.com>
Wed, 2 Nov 2016 05:31:12 +0000 (13:31 +0800)
committerVinod Koul <vinod.koul@intel.com>
Mon, 14 Nov 2016 05:05:58 +0000 (10:35 +0530)
commitc091bf4d6e11c3361a9abdb19e66800bc0508f4c
treee2aa7ab40c7c47eb42d20b8ee970549eaaeb6063
parent97624b53c77fac5386d1456a4e57dc74b3d5a5fe
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>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sun6i-dma.c