From: Jarkko Nikula Date: Fri, 3 Dec 2010 07:18:22 +0000 (+0200) Subject: ASoC: Don't oops in soc_probe_aux_dev in case of missing codec X-Git-Tag: v2.6.38-rc1~236^2^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=676ad98a06a629e6273819a54b70f3987044b608;p=pandora-kernel.git ASoC: Don't oops in soc_probe_aux_dev in case of missing codec Blind copy of codec finding algorithm from soc_bind_dai_link does not work in soc_probe_aux_dev if matching codec name is not found. In that case the code falls through and tries to start the probing procedure with invalid codec pointer. Fix this and add an error print showing the codec name that cannot be found. Signed-off-by: Jarkko Nikula Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed