[alsa-devel] [PATCH] ASoC: Don't oops in soc_probe_aux_dev in case of missing codec

Liam Girdwood lrg at slimlogic.co.uk
Fri Dec 3 12:57:19 CET 2010

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 at gmail.com>

Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>

Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.

More information about the Alsa-devel mailing list