[alsa-devel] [PATCH] Mono voice playback volume for WM8753

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Feb 1 12:18:31 CET 2008


From: Mike Montour <mail at mmontour.net>

Voice playback volume is in register bits 0:2, not 4:6.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Cc: Werner Almesberger <werner at openmoko.org>
---
I don't have a Signed-off-by from Mike but the change is sufficiently
obvious.

 sound/soc/codecs/wm8753.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
index ba16375..0f23659 100644
--- a/sound/soc/codecs/wm8753.c
+++ b/sound/soc/codecs/wm8753.c
@@ -280,7 +280,7 @@ SOC_DOUBLE_R("Speaker Playback ZC Switch", WM8753_LOUT2V, WM8753_ROUT2V, 7, 1, 0
 
 SOC_SINGLE("Mono Bypass Playback Volume", WM8753_MOUTM1, 4, 7, 1),
 SOC_SINGLE("Mono Sidetone Playback Volume", WM8753_MOUTM2, 4, 7, 1),
-SOC_SINGLE("Mono Voice Playback Volume", WM8753_MOUTM2, 4, 7, 1),
+SOC_SINGLE("Mono Voice Playback Volume", WM8753_MOUTM2, 0, 7, 1),
 SOC_SINGLE("Mono Playback ZC Switch", WM8753_MOUTV, 7, 1, 0),
 
 SOC_ENUM("Bass Boost", wm8753_enum[0]),
-- 
1.5.3.8



More information about the Alsa-devel mailing list