]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - sound/soc/codecs/wm8993.c
Merge remote-tracking branch 'asoc/topic/w-codec' into asoc-next
[karo-tx-linux.git] / sound / soc / codecs / wm8993.c
index 53c6fe35949675fab58000a661390adefd802f89..2e70a270eb2894f36ccb5cacd3fd618dee45256c 100644 (file)
@@ -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: