ASoC: wm5110: Adding missing volume update bits
Charles Keepax [Thu, 27 Sep 2012 12:21:48 +0000 (13:21 +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 b99451e..9211e41 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 = {