]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: fixup dai remove callback operation
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 24 Jul 2014 08:51:31 +0000 (01:51 -0700)
committerMark Brown <broonie@linaro.org>
Fri, 25 Jul 2014 17:49:13 +0000 (18:49 +0100)
commit9148736d130e4e46ed4953def3f5a0de648a1976
tree7a9d123028d1ca169e780e502a44444c7b1adf63
parentaeea7894cfe61d9bc8dbf70c8956951581c3b4ea
ASoC: rsnd: fixup dai remove callback operation

rsnd driver is using SSI/SRC/DVC which are
using "mod" base operation.
These "mod" are supporting "probe" and "remove" callbacks.

Current rsnd_probe should call "remove" if "probe" was failed,
since "probe" might be having DMAEngine handle.
Some mod's "remove" callback might be called without calling
"probe", but it is no problem. because "remove" do nothing
in such case.

So, all mod's "remove" should be called when error case
of rsnd_probe() and rsnd_remove().

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