Messages in this thread | | | Subject | Re: [alsa-devel] [PATCH 1/2] ASoC: codecs: JZ4740: Fix OOPS | From | Liam Girdwood <> | Date | Wed, 13 Apr 2011 08:39:55 +0100 |
| |
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@metafoo.de> > ---
Both
Acked-by: Liam Girdwood <lrg@ti.com>
| |