diff options
Diffstat (limited to 'sound/soc/codecs/ak4671.c')
-rw-r--r-- | sound/soc/codecs/ak4671.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ak4671.c b/sound/soc/codecs/ak4671.c index 686cacb0e835..632e89f793a7 100644 --- a/sound/soc/codecs/ak4671.c +++ b/sound/soc/codecs/ak4671.c | |||
@@ -163,7 +163,7 @@ static const struct snd_kcontrol_new ak4671_snd_controls[] = { | |||
163 | static int ak4671_out2_event(struct snd_soc_dapm_widget *w, | 163 | static int ak4671_out2_event(struct snd_soc_dapm_widget *w, |
164 | struct snd_kcontrol *kcontrol, int event) | 164 | struct snd_kcontrol *kcontrol, int event) |
165 | { | 165 | { |
166 | struct snd_soc_codec *codec = w->codec; | 166 | struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); |
167 | 167 | ||
168 | switch (event) { | 168 | switch (event) { |
169 | case SND_SOC_DAPM_POST_PMU: | 169 | case SND_SOC_DAPM_POST_PMU: |