]> 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)
commitfacece625da4b571472bb7879df26a221cc32c55
tree7a9d123028d1ca169e780e502a44444c7b1adf63
parentf1bf5525829387f7e96991003200c7a0f9c8a032
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