diff options
author | Mark Brown <broonie@linaro.org> | 2014-05-22 03:23:41 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-22 03:23:41 +0400 |
commit | 0f4019e6f4da4e0bcefd38f78d61fe5d0565b3cc (patch) | |
tree | 3c54c788587d7988d03dca33d4d5e1da09c8f42d /sound/soc/codecs/max98090.c | |
parent | 228704bbdd5ed452f5db49eecbea9180693d1974 (diff) | |
parent | 4da533932dedff930596bc536adaba1e508f9ffa (diff) | |
download | linux-0f4019e6f4da4e0bcefd38f78d61fe5d0565b3cc.tar.xz |
Merge remote-tracking branch 'asoc/topic/component' into asoc-next
Diffstat (limited to 'sound/soc/codecs/max98090.c')
-rw-r--r-- | sound/soc/codecs/max98090.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c index c58dce473e55..57fc4c315033 100644 --- a/sound/soc/codecs/max98090.c +++ b/sound/soc/codecs/max98090.c @@ -428,7 +428,7 @@ static const unsigned int max98090_rcv_lout_tlv[] = { static int max98090_get_enab_tlv(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); struct max98090_priv *max98090 = snd_soc_codec_get_drvdata(codec); struct soc_mixer_control *mc = (struct soc_mixer_control *)kcontrol->private_value; @@ -468,7 +468,7 @@ static int max98090_get_enab_tlv(struct snd_kcontrol *kcontrol, static int max98090_put_enab_tlv(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); struct max98090_priv *max98090 = snd_soc_codec_get_drvdata(codec); struct soc_mixer_control *mc = (struct soc_mixer_control *)kcontrol->private_value; |