X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=sound%2Fsoc%2Fcodecs%2Fadau1781.c;h=35581f43fa6d5e212d3d2c6735b70a8b3f0e2c3a;hb=631657c61da1ce9705f2df0c61b3879ad613267b;hp=926fc99c1dda59682d667f58b82d13c01d1bd3e9;hpb=d98123a76be53d570d72e04aac3e195a560ef149;p=firefly-linux-kernel-4.4.55.git diff --git a/sound/soc/codecs/adau1781.c b/sound/soc/codecs/adau1781.c index 926fc99c1dda..35581f43fa6d 100644 --- a/sound/soc/codecs/adau1781.c +++ b/sound/soc/codecs/adau1781.c @@ -174,7 +174,7 @@ static const struct snd_kcontrol_new adau1781_mono_mixer_controls[] = { static int adau1781_dejitter_fixup(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) { - struct snd_soc_codec *codec = w->codec; + struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); struct adau *adau = snd_soc_codec_get_drvdata(codec); /* After any power changes have been made the dejitter circuit