diff options
author | 2015-06-15 06:21:15 +0000 | |
---|---|---|
committer | 2015-06-16 12:34:01 +0100 | |
commit | 75defee0f1b3fcd91d8a304d6444635a459b8249 (patch) | |
tree | dd5d78d7c54bdeacbc3e6e5cc1e17fe7c770ff95 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: rsnd: don't care under/over run error when PIO (diff) | |
download | wireguard-linux-75defee0f1b3fcd91d8a304d6444635a459b8249.tar.xz wireguard-linux-75defee0f1b3fcd91d8a304d6444635a459b8249.zip |
ASoC: rsnd: don't call snd_pcm_period_elapsed() under spin lock
'a9e1ac1a9e4585b5("ASoC: rsnd: spin lock for interrupt handler")'
added spin lock under interrupt handler to solve HW restart issue.
OTOH, current rsnd driver calls snd_pcm_period_elapsed() from
rsnd_dai_pointer_update(). but, it will be called under spin lock
if SSI was PIO mode.
If it was called under spin lock, it will call
snd_pcm_update_state() -> snd_pcm_drain_done().
Then, it calls rsnd_soc_dai_trigger() and will be dead-lock.
This patch doesn't call rsnd_dai_pointer_update() under spin lock
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Keita Kobayashi <keita.kobayashi.ym@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