From: Takashi Iwai Subject: Re: [PATCH] Fix inverted Bass, Treble, Mono volume and Phone volume WM9712 mixer controls. Date: Tue, 20 Nov 2007 11:07:13 +0100 Message-ID: References: <1195550746-6892-1-git-send-email-broonie@opensource.wolfsonmicro.com> <1195550746-6892-2-git-send-email-broonie@opensource.wolfsonmicro.com> <1195550746-6892-3-git-send-email-broonie@opensource.wolfsonmicro.com> <1195550746-6892-4-git-send-email-broonie@opensource.wolfsonmicro.com> <1195550746-6892-5-git-send-email-broonie@opensource.wolfsonmicro.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id CEA0F248D4 for ; Tue, 20 Nov 2007 11:34:46 +0100 (CET) In-Reply-To: <1195550746-6892-5-git-send-email-broonie@opensource.wolfsonmicro.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: liam.girdwood@opensource.wolfsonmicro.com, alsa-devel@alsa-project.org, Joe Sauer List-Id: alsa-devel@alsa-project.org At Tue, 20 Nov 2007 09:25:27 +0000, Mark Brown wrote: > > From: Joe Sauer > > Signed-off-by: Joe Sauer > Signed-off-by: Liam Girdwood > Signed-off-by: Mark Brown We have already a patch to fix Mono and Bass/Treble on ALSA HG tree but only Phone volume seems missing. Is it right? Takashi > --- > sound/soc/codecs/wm9712.c | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c > index 986b5d5..111c266 100644 > --- a/sound/soc/codecs/wm9712.c > +++ b/sound/soc/codecs/wm9712.c > @@ -102,7 +102,7 @@ SOC_SINGLE("Speaker Playback ZC Switch", AC97_MASTER, 7, 1, 0), > SOC_SINGLE("Speaker Playback Invert Switch", AC97_MASTER, 6, 1, 0), > SOC_SINGLE("Headphone Playback ZC Switch", AC97_HEADPHONE, 7, 1, 0), > SOC_SINGLE("Mono Playback ZC Switch", AC97_MASTER_MONO, 7, 1, 0), > -SOC_SINGLE("Mono Playback Volume", AC97_MASTER_MONO, 0, 31, 0), > +SOC_SINGLE("Mono Playback Volume", AC97_MASTER_MONO, 0, 31, 1), > > SOC_SINGLE("ALC Target Volume", AC97_CODEC_CLASS_REV, 12, 15, 0), > SOC_SINGLE("ALC Hold Time", AC97_CODEC_CLASS_REV, 8, 15, 0), > @@ -131,7 +131,7 @@ SOC_SINGLE("Aux Playback Headphone Volume", AC97_CD, 12, 7, 1), > SOC_SINGLE("Aux Playback Speaker Volume", AC97_CD, 8, 7, 1), > SOC_SINGLE("Aux Playback Phone Volume", AC97_CD, 4, 7, 1), > > -SOC_SINGLE("Phone Volume", AC97_PHONE, 0, 15, 0), > +SOC_SINGLE("Phone Volume", AC97_PHONE, 0, 15, 1), > SOC_DOUBLE("Line Capture Volume", AC97_LINE, 8, 0, 31, 1), > > SOC_SINGLE("Capture 20dB Boost Switch", AC97_REC_SEL, 14, 1, 0), > @@ -145,8 +145,8 @@ SOC_ENUM("Bass Control", wm9712_enum[5]), > SOC_SINGLE("Bass Cut-off Switch", AC97_MASTER_TONE, 12, 1, 1), > SOC_SINGLE("Tone Cut-off Switch", AC97_MASTER_TONE, 4, 1, 1), > SOC_SINGLE("Playback Attenuate (-6dB) Switch", AC97_MASTER_TONE, 6, 1, 0), > -SOC_SINGLE("Bass Volume", AC97_MASTER_TONE, 8, 15, 0), > -SOC_SINGLE("Treble Volume", AC97_MASTER_TONE, 0, 15, 0), > +SOC_SINGLE("Bass Volume", AC97_MASTER_TONE, 8, 15, 1), > +SOC_SINGLE("Treble Volume", AC97_MASTER_TONE, 0, 15, 1), > > SOC_SINGLE("Capture ADC Switch", AC97_REC_GAIN, 15, 1, 1), > SOC_ENUM("Capture Volume Steps", wm9712_enum[6]), > -- > 1.5.3.5 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >