dma: shdma: fix runtime PM: clear channel buffers on reset
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 4 Jan 2012 14:34:17 +0000 (15:34 +0100)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 6 Jan 2012 06:10:11 +0000 (11:40 +0530)
On platforms, supporting power domains, if the domain, containing a DMAC
instance is powered down, the driver fails to resume correctly. On those
platforms DMAC channels have an additional CHCLR register for clearing
channel buffers. Using this register during runtime resume fixes the
problem.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>

No differences found