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 <>
Signed-off-by: Paul Mundt <>
(cherry picked from commit a1b2cc50679c1d2eed44e2885f6178ce907498b7)

Signed-off-by: Simon Horman <>
1 file changed