ASoC: Add snd_soc_kcontrol_codec() helper function
[deliverable/linux.git] / sound / soc / codecs / wm8991.c
index 844cc4a60d667ef8f67dd7b35f29b3834c07b938..b8fd284fc0c023bdb83ea4f87dbc87656608e5d5 100644 (file)
@@ -154,7 +154,7 @@ static const unsigned int out_sidetone_tlv[] = {
 static int wm899x_outpga_put_volsw_vu(struct snd_kcontrol *kcontrol,
                                      struct snd_ctl_elem_value *ucontrol)
 {
-       struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
+       struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol);
        int reg = kcontrol->private_value & 0xff;
        int ret;
        u16 val;
This page took 0.043494 seconds and 5 git commands to generate.