Re: [alsa-devel] [PATCH 1/2] ASoC: codecs: JZ4740: Fix OOPS

From: Liam Girdwood
Date: Wed Apr 13 2011 - 03:40:04 EST


On Tue, 2011-04-12 at 19:33 +0200, Lars-Peter Clausen wrote:
> Commit ce6120cc(ASoC: Decouple DAPM from CODECs) changed the signature of
> snd_soc_dapm_widgets_new to take an pointer to a snd_soc_dapm_context instead of
> a snd_soc_codec. The call to snd_soc_dapm_widgets_new in jz4740_codec_dev_probe
> was not updated to reflect this change, which results in a compiletime warning
> and a runtime OOPS.
>
> Since the core code calls snd_soc_dapm_widgets_new after the codec has been
> registered it can be dropped here.
>
> Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
> ---

Both

Acked-by: Liam Girdwood <lrg@xxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/