diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-01-13 04:27:26 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-14 14:53:40 -0500 |
commit | 07276572e639793565333baac16de48e4c55ed7f (patch) | |
tree | 6da889ed0c8b31d38ed6f9c41d368be3e37deb72 /sound/soc/codecs | |
parent | f3b4d68fc21cc536f4f6b4b539864e33eca00bc0 (diff) |
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')
-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), | |||
810 | static int clk_sys_event(struct snd_soc_dapm_widget *w, | 810 | static int clk_sys_event(struct snd_soc_dapm_widget *w, |
811 | struct snd_kcontrol *kcontrol, int event) | 811 | struct snd_kcontrol *kcontrol, int event) |
812 | { | 812 | { |
813 | struct snd_soc_codec *codec = w->codec; | 813 | struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); |
814 | 814 | ||
815 | switch (event) { | 815 | switch (event) { |
816 | case SND_SOC_DAPM_PRE_PMU: | 816 | case SND_SOC_DAPM_PRE_PMU: |