[alsa-devel] [PATCH 1/2] ASoC: codecs: JZ4740: Fix OOPS
lrg at slimlogic.co.uk
Wed Apr 13 09:39:55 CEST 2011
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 at metafoo.de>
Acked-by: Liam Girdwood <lrg at ti.com>
More information about the Alsa-devel