diff options
| -rw-r--r-- | sound/soc/msm/msm8996.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/msm/msm8996.c b/sound/soc/msm/msm8996.c index 84d4ede33e3f..4eafd322d50d 100644 --- a/sound/soc/msm/msm8996.c +++ b/sound/soc/msm/msm8996.c @@ -351,7 +351,7 @@ static int msm8996_get_spk(struct snd_kcontrol *kcontrol, static int msm8996_set_spk(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); pr_debug("%s() ucontrol->value.integer.value[0] = %ld\n", __func__, ucontrol->value.integer.value[0]); |
