summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorJarkko Nikula <jhnikula@gmail.com>2010-12-03 09:18:22 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-03 12:26:42 +0000
commit676ad98a06a629e6273819a54b70f3987044b608 (patch)
treee4068287d9657f9a8077d21cfceec604ce559f8f /include/sound/soc.h
parent4bd3a1f415affa4729856dca7e39c5093a9a954f (diff)
downloadlinux-676ad98a06a629e6273819a54b70f3987044b608.tar.gz
linux-676ad98a06a629e6273819a54b70f3987044b608.tar.bz2
linux-676ad98a06a629e6273819a54b70f3987044b608.zip
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 <jhnikula@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc.h')
0 files changed, 0 insertions, 0 deletions