13 Apr
2011
13 Apr
'11
9:39 a.m.
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