From: Lars-Peter Clausen Date: Tue, 12 Apr 2011 17:33:28 +0000 (+0200) Subject: ASoC: codecs: JZ4740: Fix OOPS X-Git-Tag: v2.6.39-rc5~21^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fdf9b49e9e7788d09bad4b08a6a821ac39798f3;p=pandora-kernel.git ASoC: codecs: JZ4740: Fix OOPS 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown Cc: stable@kernel.org --- Reading git-diff-tree failed