summaryrefslogtreecommitdiffstats
path: root/sound/soc/qcom
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-06-15 08:21:15 +0200
committerMark Brown <broonie@kernel.org>2015-06-16 13:34:01 +0200
commit75defee0f1b3fcd91d8a304d6444635a459b8249 (patch)
treedd5d78d7c54bdeacbc3e6e5cc1e17fe7c770ff95 /sound/soc/qcom
parentASoC: rsnd: don't care under/over run error when PIO (diff)
downloadlinux-75defee0f1b3fcd91d8a304d6444635a459b8249.tar.xz
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 'sound/soc/qcom')
0 files changed, 0 insertions, 0 deletions