linux-hardened/sound/soc/sh
Kuninori Morimoto 75defee0f1 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>
2015-06-16 12:34:01 +01:00
..
rcar ASoC: rsnd: don't call snd_pcm_period_elapsed() under spin lock 2015-06-16 12:34:01 +01:00
dma-sh7760.c ASoC: sh: Remove unnecessary snd_pcm_lib_preallocate_free_for_all() 2015-01-05 21:30:05 +00:00
fsi.c Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2015-04-24 09:49:37 -07:00
hac.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
Kconfig ASoC: rnsd: fix build regression without CONFIG_OF 2015-04-11 23:05:18 +01:00
Makefile ASoC: add Renesas R-Car core feature 2013-07-28 19:34:09 +01:00
migor.c ASoC: migor: Use static DAI format setup 2015-01-06 17:34:32 +00:00
sh7760-ac97.c ASoC: sh: Add .owner to struct snd_soc_card 2011-12-23 11:32:07 +00:00
siu.h ASoC: Do not include soc-dai.h 2010-11-22 14:04:53 +00:00
siu_dai.c ASoC: sh: drop owner assignment from platform_drivers 2014-10-20 16:22:13 +02:00
siu_pcm.c ASoC: sh: Remove unnecessary snd_pcm_lib_preallocate_free_for_all() 2015-01-05 21:30:05 +00:00
ssi.c ASoC: sh: drop owner assignment from platform_drivers 2014-10-20 16:22:13 +02:00