diff options
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/wm9713.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c index 71b9d5b0734d..e5807de796cd 100644 --- a/sound/soc/codecs/wm9713.c +++ b/sound/soc/codecs/wm9713.c | |||
@@ -217,7 +217,7 @@ SOC_SINGLE("3D Depth", AC97_REC_GAIN_MIC, 0, 15, 1), | |||
217 | static int wm9713_voice_shutdown(struct snd_soc_dapm_widget *w, | 217 | static int wm9713_voice_shutdown(struct snd_soc_dapm_widget *w, |
218 | struct snd_kcontrol *kcontrol, int event) | 218 | struct snd_kcontrol *kcontrol, int event) |
219 | { | 219 | { |
220 | struct snd_soc_codec *codec = w->codec; | 220 | struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); |
221 | u16 status, rate; | 221 | u16 status, rate; |
222 | 222 | ||
223 | if (WARN_ON(event != SND_SOC_DAPM_PRE_PMD)) | 223 | if (WARN_ON(event != SND_SOC_DAPM_PRE_PMD)) |