ASoC: rsnd: need to call nolock_stop if nolock_start was failed
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 17 May 2017 07:59:20 +0000 (07:59 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 17 May 2017 09:28:30 +0000 (10:28 +0100)
commit2adcea7e22d382e2becf5671e92296f79672b957
tree55f05ed69f450a58f6939f966245223637795480
parent1f6bbe64abd7dc1997fa31a9e550eadf170961d5
ASoC: rsnd: need to call nolock_stop if nolock_start was failed

rsnd_dai_call() is counting the called number of start/stop functions.
nolock_stop should be called if nolock_start was failed.
Otherwise, nolock_start doesn't called in 2nd play.
This patch solved this issue.

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