diff options
author | Sameer Pujar <spujar@nvidia.com> | 2019-05-02 18:25:15 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-05-04 16:13:42 +0530 |
commit | 94dc8f4ed47983b7280f488617e49346f89513fd (patch) | |
tree | 13a7b35edd7afeaabbf5b8397887a66d09f05a11 /kernel/rseq.c | |
parent | 433de642a76c9e68641ee5a8c7b2720d4e8629a5 (diff) |
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 'kernel/rseq.c')
0 files changed, 0 insertions, 0 deletions