diff options
Diffstat (limited to 'sound/soc/codecs/da9055.c')
-rw-r--r-- | sound/soc/codecs/da9055.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/da9055.c b/sound/soc/codecs/da9055.c index 4ff06b50fbba..ad19cc56702b 100644 --- a/sound/soc/codecs/da9055.c +++ b/sound/soc/codecs/da9055.c | |||
@@ -484,7 +484,7 @@ static int da9055_get_alc_data(struct snd_soc_codec *codec, u8 reg_val) | |||
484 | static int da9055_put_alc_sw(struct snd_kcontrol *kcontrol, | 484 | static int da9055_put_alc_sw(struct snd_kcontrol *kcontrol, |
485 | struct snd_ctl_elem_value *ucontrol) | 485 | struct snd_ctl_elem_value *ucontrol) |
486 | { | 486 | { |
487 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); | 487 | struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); |
488 | u8 reg_val, adc_left, adc_right, mic_left, mic_right; | 488 | u8 reg_val, adc_left, adc_right, mic_left, mic_right; |
489 | int avg_left_data, avg_right_data, offset_l, offset_r; | 489 | int avg_left_data, avg_right_data, offset_l, offset_r; |
490 | 490 | ||