From: Kuninori Morimoto Date: Thu, 24 Jul 2014 08:51:31 +0000 (-0700) Subject: ASoC: rsnd: fixup dai remove callback operation X-Git-Tag: omap-for-v3.17/fixes-against-rc2~144^2~5^2~12^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d62a3dcd4d75b1713d12697afdbffaf9a9da8f43;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed