Skip to contentSkip to conversation

dmaengine: shdma: fix a regression: initialise DMA channels for memcpy

PATCH Paul Mundt 1 participant 1 message Jun 2, 2011 SuperH

lore
Share & tools
lore

Paul Mundt

author
#0 lore raw
Quoted 4 lines · Guennadi Liakhovetski

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.

Quoted 2 lines · Guennadi Liakhovetski

These definitions are needed to let the runtime PM subsystem turn off DMAC clocks, when it is suspended by the driver.

Both applied, thanks.