diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-01-13 10:27:26 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-14 20:53:40 +0100 |
commit | 07276572e639793565333baac16de48e4c55ed7f (patch) | |
tree | 6da889ed0c8b31d38ed6f9c41d368be3e37deb72 /sound/soc/codecs/wm8993.c | |
parent | ASoC: wm8991: Replace w->codec snd_soc_dapm_to_codec(w->dapm) (diff) | |
download | linux-07276572e639793565333baac16de48e4c55ed7f.tar.xz linux-07276572e639793565333baac16de48e4c55ed7f.zip |
ASoC: wm8993: 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/wm8993.c')
-rw-r--r-- | sound/soc/codecs/wm8993.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c index 53c6fe359496..2e70a270eb28 100644 --- a/sound/soc/codecs/wm8993.c +++ b/sound/soc/codecs/wm8993.c @@ -810,7 +810,7 @@ SOC_SINGLE_TLV("EQ5 Volume", WM8993_EQ6, 0, 24, 0, eq_tlv), static int clk_sys_event(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); switch (event) { case SND_SOC_DAPM_PRE_PMU: |