diff options
Diffstat (limited to 'sound/soc/codecs/cs4270.c')
-rw-r--r-- | sound/soc/codecs/cs4270.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c index 3920e6264948..9947a9583679 100644 --- a/sound/soc/codecs/cs4270.c +++ b/sound/soc/codecs/cs4270.c | |||
@@ -438,7 +438,7 @@ static int cs4270_dai_mute(struct snd_soc_dai *dai, int mute) | |||
438 | static int cs4270_soc_put_mute(struct snd_kcontrol *kcontrol, | 438 | static int cs4270_soc_put_mute(struct snd_kcontrol *kcontrol, |
439 | struct snd_ctl_elem_value *ucontrol) | 439 | struct snd_ctl_elem_value *ucontrol) |
440 | { | 440 | { |
441 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); | 441 | struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); |
442 | struct cs4270_private *cs4270 = snd_soc_codec_get_drvdata(codec); | 442 | struct cs4270_private *cs4270 = snd_soc_codec_get_drvdata(codec); |
443 | int left = !ucontrol->value.integer.value[0]; | 443 | int left = !ucontrol->value.integer.value[0]; |
444 | int right = !ucontrol->value.integer.value[1]; | 444 | int right = !ucontrol->value.integer.value[1]; |