Re: [PATCH] ASoC: Don't oops in soc_probe_aux_dev in case of missing codec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2010-12-03 at 09:18 +0200, Jarkko Nikula wrote:
> 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@xxxxxxxxx>

Acked-by: Liam Girdwood <lrg@xxxxxxxxxxxxxxx>

-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux