diff options
author | Tushar Behera <[email protected]> | 2014-05-19 14:53:53 +0530 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2014-05-19 11:31:24 +0200 |
commit | 02fb05a598e9393382f55132a36aff84f4d76ad5 (patch) | |
tree | 0283125bda8f59641d339c480256b0322607205d /tools/perf/scripts/python/check-perf-trace.py | |
parent | 665ebe926e7b714369b5329d48745bfef17db512 (diff) |
ALSA: pcm_dmaengine: Add check during device suspend
Currently snd_dmaengine_pcm_trigger() calls dmaengine_pause()
unconditinally during device suspend. In case where DMA controller
doesn't support PAUSE/RESUME functionality, this call is not able
to stop the DMA controller. In this scenario, audio playback doesn't
resume after device resume.
Calling dmaengine_pause/dmaengine_terminate_all conditionally fixes
the issue.
It has been tested with audio playback on Samsung platform having
PL330 DMA controller which doesn't support PAUSE/RESUME.
Signed-off-by: Tushar Behera <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions