summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ep93xx_dma.c
diff options
context:
space:
mode:
authorSameer Pujar <spujar@nvidia.com>2019-05-02 14:55:15 +0200
committerVinod Koul <vkoul@kernel.org>2019-05-04 12:43:42 +0200
commit94dc8f4ed47983b7280f488617e49346f89513fd (patch)
tree13a7b35edd7afeaabbf5b8397887a66d09f05a11 /drivers/dma/ep93xx_dma.c
parentdmaengine: tegra210-adma: add support for Tegra186/Tegra194 (diff)
downloadlinux-94dc8f4ed47983b7280f488617e49346f89513fd.tar.xz
linux-94dc8f4ed47983b7280f488617e49346f89513fd.zip
dmaengine: tegra210-adma: add pause/resume support
During an audio playback session it is observed that, audio goes off after few seconds of continuous pause and play. No audio is heard even when the playback is resumed. The reason for above is, currently ADMA driver does not handle DMA_PAUSE/ DMA_RESUME and relevant callbacks for dma_device are not implemented. This patch implements device_pause and device_resume callbacks for the device. During pause TRANSFER_PAUSE bit of dma channel control register is set and the same is cleared during resume. Signed-off-by: Sameer Pujar <spujar@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/ep93xx_dma.c')
0 files changed, 0 insertions, 0 deletions