]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: shdma: fix a regression: initialise DMA channels for memcpy
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 31 May 2011 09:25:16 +0000 (09:25 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 2 Jun 2011 05:40:43 +0000 (14:40 +0900)
commitdb966f7c3560e5560898aa1844488782884cbe3a
treee30d672493dc63325dc9d92a05ed70e6ec995957
parent4fade91594300cf58f1cfc514669f3f2a1488816
dmaengine: shdma: fix a regression: initialise DMA channels for memcpy

A recent patch has introduced a regression, where repeating a memcpy
DMA test with shdma module unloading between them skips the DMA channel
configuration. Fix this regression by always configuring the channel
during its allocation.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/dma/shdma.c