diff mbox

ASoC: wm5102: Remove set of volume update bits for output 3R

Message ID 1428082112-2390-1-git-send-email-ckeepax@opensource.wolfsonmicro.com (mailing list archive)
State Accepted
Commit 158bf4ed7f686f92ea6c046c5d9d04afad92eb17
Headers show

Commit Message

Charles Keepax April 3, 2015, 5:28 p.m. UTC
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>
---
 sound/soc/codecs/wm5102.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

Mark Brown April 6, 2015, 4:12 p.m. UTC | #1
On Fri, Apr 03, 2015 at 06:28:32PM +0100, Charles Keepax wrote:
> 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.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/wm5102.c b/sound/soc/codecs/wm5102.c
index 6d0fe0a..0c6d1bc 100644
--- a/sound/soc/codecs/wm5102.c
+++ b/sound/soc/codecs/wm5102.c
@@ -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,