summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drm.c
diff options
context:
space:
mode:
authorPeter Ujfalusi2014-09-16 21:45:57 +0200
committerVinod Koul2014-09-23 14:52:55 +0200
commitbfb607451786829430ecdd5bcd51c5dac03e3639 (patch)
treedd64ec7454cc54cb1d71d9e41695d307fa0b7e5b /drivers/gpu/drm/nouveau/nouveau_drm.c
parentdmaengine: omap-dma: Add memory barrier to dma_resume path (diff)
downloadkernel-qcow2-linux-bfb607451786829430ecdd5bcd51c5dac03e3639.tar.gz
kernel-qcow2-linux-bfb607451786829430ecdd5bcd51c5dac03e3639.tar.xz
kernel-qcow2-linux-bfb607451786829430ecdd5bcd51c5dac03e3639.zip
dmaengine: omap-dma: Restore the CLINK_CTRL in resume path
When the audio stream is paused or suspended we stop the sDMA and when it is unpaused/resumed we start the channel without reconfiguring it. The omap_dma_stop() clears the link configuration when we pause the dma, but it is not setting it back on start. This will result only one audio buffer to be played back and the DMA will stop, since the linking is disabled. We need to restore the CLINK_CTRL register in case of resume. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drm.c')
0 files changed, 0 insertions, 0 deletions