ASoC: rsnd: fixup rsnd_dai_call() behavior for .stop/.quit
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 22 Oct 2015 03:14:43 +0000 (03:14 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 22 Oct 2015 12:30:01 +0000 (13:30 +0100)
commit89e3e2c352a523be46be5104bf18e200a8ccd444
tree7b17dba5602ac6192b900ede7c124dc3b2199d4c
parent32a96d558d02581c32b09401b8aa5eecb3965d3e
ASoC: rsnd: fixup rsnd_dai_call() behavior for .stop/.quit

Current rsnd_dai_call returns immediately if rsnd_mod_call return fail.
Thus, each callback-count can be unbalanced for example .init was OK,
start was OK, but, .stop was not OK. This case .quit should be called
but isn't called. And, rsnd_dai_stream_quit() also not be called.
rsnd_dai_call() should call all .stop/.quit eventhough it returns error.

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