]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: fixup forever loop bug on SSI
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 18 Feb 2016 08:16:04 +0000 (08:16 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 19 Feb 2016 15:53:02 +0000 (00:53 +0900)
commit28f664f58d0b5cace252c252b6b48bbf7831d7b7
treeb9a22629d0bf986a81e562c024841b21c68d3479
parent59bfc9f5efb021a83edae2e2d539a65458506a03
ASoC: rsnd: fixup forever loop bug on SSI

commit 0dc24186a9 ("ASoC: rsnd: add .irq callback")
added .irq support, and it cares both parent SSI and normal SSI.
But it should care only normal SSI. Otherwise SSI might be
forever loop if SSI is used as both parent SSI and normal SSI
(= 2 users), and if under/over run error happen. Because irq disable
do nothing in such case. This patch solve this issue.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssi.c