diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-01-13 10:27:33 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-14 19:54:01 +0000 |
commit | ff70508a8a795111b4bcc5de540f6e8073a05f14 (patch) | |
tree | 8d7cc06e1b1a8bce89fc868d4d0d4294bc071b90 /sound/soc/codecs/wm9713.c | |
parent | 0a3042d7835bb37d8a5ed318d1ec3bd66224eaf7 (diff) | |
download | linux-ff70508a8a795111b4bcc5de540f6e8073a05f14.tar.bz2 |
ASoC: wm9713: Replace w->codec snd_soc_dapm_to_codec(w->dapm)
The codec field of the snd_soc_widget struct is eventually going to be
removed, use snd_soc_dapm_to_codec(w->dapm) instead.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm9713.c')
-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), static int wm9713_voice_shutdown(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); u16 status, rate; if (WARN_ON(event != SND_SOC_DAPM_PRE_PMD)) |