ASoC: wm5110: Adding missing volume update bits
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 27 Sep 2012 12:21:48 +0000 (13:21 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 27 Sep 2012 16:58:25 +0000 (17:58 +0100)
The volume update bits were being set on all but one input and one output.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm5110.c

index b99451ef0347ed990ab03abe6fd13b021ab08b7f..9211e4192f710b305ca46420e0be64037a0f6967 100644 (file)
@@ -916,6 +916,8 @@ static unsigned int wm5110_digital_vu[] = {
        ARIZONA_ADC_DIGITAL_VOLUME_2R,
        ARIZONA_ADC_DIGITAL_VOLUME_3L,
        ARIZONA_ADC_DIGITAL_VOLUME_3R,
+       ARIZONA_ADC_DIGITAL_VOLUME_4L,
+       ARIZONA_ADC_DIGITAL_VOLUME_4R,
 
        ARIZONA_DAC_DIGITAL_VOLUME_1L,
        ARIZONA_DAC_DIGITAL_VOLUME_1R,
@@ -927,6 +929,8 @@ static unsigned int wm5110_digital_vu[] = {
        ARIZONA_DAC_DIGITAL_VOLUME_4R,
        ARIZONA_DAC_DIGITAL_VOLUME_5L,
        ARIZONA_DAC_DIGITAL_VOLUME_5R,
+       ARIZONA_DAC_DIGITAL_VOLUME_6L,
+       ARIZONA_DAC_DIGITAL_VOLUME_6R,
 };
 
 static struct snd_soc_codec_driver soc_codec_dev_wm5110 = {