From: Takashi Iwai Subject: Re: [PATCH 2.6.27?] ASoC: Correct inverted Mic PGA Switch control in wm8510 driver Date: Tue, 07 Oct 2008 10:04:47 +0200 Message-ID: References: <1223289201-29091-1-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 mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id E4E4A103804 for ; Tue, 7 Oct 2008 10:05:00 +0200 (CEST) In-Reply-To: <1223289201-29091-1-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: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 6 Oct 2008 11:33:21 +0100, Mark Brown wrote: > > Mic PGA Switch should be inverted in the WM8510 driver but isn't. > > Reported-by: ext-jukka.hynninen@vaisala.com > Signed-off-by: Mark Brown Applied now to asoc-fixes branch. Not sure whether I'll send more push request at this stage, though... thanks, Takashi > --- > sound/soc/codecs/wm8510.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/sound/soc/codecs/wm8510.c b/sound/soc/codecs/wm8510.c > index 75ed041..9a37c8d 100644 > --- a/sound/soc/codecs/wm8510.c > +++ b/sound/soc/codecs/wm8510.c > @@ -199,7 +199,7 @@ SOC_DAPM_SINGLE("PCM Playback Switch", WM8510_MONOMIX, 0, 1, 0), > }; > > static const struct snd_kcontrol_new wm8510_boost_controls[] = { > -SOC_DAPM_SINGLE("Mic PGA Switch", WM8510_INPPGA, 6, 1, 0), > +SOC_DAPM_SINGLE("Mic PGA Switch", WM8510_INPPGA, 6, 1, 1), > SOC_DAPM_SINGLE("Aux Volume", WM8510_ADCBOOST, 0, 7, 0), > SOC_DAPM_SINGLE("Mic Volume", WM8510_ADCBOOST, 4, 7, 0), > }; > -- > 1.5.6.5 >