ASoC: wm5102: Remove set of volume update bits for output 3R
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 3 Apr 2015 17:28:32 +0000 (18:28 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 6 Apr 2015 16:12:41 +0000 (17:12 +0100)
The earpiece on wm5102 is mono, thus there is no output 3R. Don't toggle
the volume update bits for this output, although worth noting that doing
so had no negative effects it is just redundant.

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

index 6d0fe0ac95a3f6121d87c52cfa4f17f6ec844651..0c6d1bc0526eff324d180f0c3a7041ff3aa5fe00 100644 (file)
@@ -1861,7 +1861,6 @@ static unsigned int wm5102_digital_vu[] = {
        ARIZONA_DAC_DIGITAL_VOLUME_2L,
        ARIZONA_DAC_DIGITAL_VOLUME_2R,
        ARIZONA_DAC_DIGITAL_VOLUME_3L,
-       ARIZONA_DAC_DIGITAL_VOLUME_3R,
        ARIZONA_DAC_DIGITAL_VOLUME_4L,
        ARIZONA_DAC_DIGITAL_VOLUME_4R,
        ARIZONA_DAC_DIGITAL_VOLUME_5L,