diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2016-10-25 00:37:35 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-25 15:02:43 +0100 |
commit | 10a9cca13220888c20a259abbd42ea117cddfdb0 (patch) | |
tree | 839476bc3f9a3f86b5143ed144f226b55d4d7f45 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 161ba1f1a5c99c4525eb39cc71ec984e0a39e6d7 (diff) |
ASoC: rsnd: add nolock_start/stop callback
Current Renesas Sound driver requests DMA channel when .probe timing,
and release it when .remove timing. And use DMA on .start/.stop
But, Audio DMAC power ON was handled when request timing (= .probe),
and power OFF was when release timing (= .remove).
This means Audio DMAC power is always ON during driver was enabled.
To fixup this issue, it should request/release DMA channel on each
playback/recorde timing.
But, DMA channel request/release function uses mutex lock inside.
This means it will breaks current spinlock's interrupt protect.
To solve this issue, DMA channel request/release function needs to
be called from non-spinlock area. This patch adds its callback.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions