[<prev] [next>] [day] [month] [year] [list]
Message-ID: <s5hbofc9t4s.wl%tiwai@suse.de>
Date: Mon, 05 Nov 2012 12:38:43 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Daniel J Blueman <daniel@...ra.org>
Cc: alsa-devel@...a-project.org,
Alexander Stein <alexander.stein@...tec-electronic.com>,
Jaroslav Kysela <perex@...ex.cz>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] HDA: Fix digital microphone on CS420x
At Mon, 5 Nov 2012 07:22:24 +0800,
Daniel J Blueman wrote:
>
> [1 <text/plain; ISO-8859-1 (7bit)>]
> On 4 November 2012 16:16, Takashi Iwai <tiwai@...e.de> wrote:
>
> > At Sun, 4 Nov 2012 13:19:03 +0800,
> > Daniel J Blueman wrote:
> > >
> > > Correctly enable the digital microphones with the right bits in the
> > right coeffecient
> > > registers on Cirrus CS4206/7 codecs. It also prevents misconfiguring
> > ADC1/2.
> > >
> > > This fixes the digital mic on the Macbook Pro 10,1/Retina.
> > >
> > > Based-on-patch-by: Alexander Stein <
> > alexander.stein@...tec-electronic.com>
> > > Signed-off-by: Daniel J Blueman <daniel@...ra.org>
> >
> > Thanks, this looks more comprehensive. DIG1 and DIG2 seem to have
> > been set wrongly in the original code, based on the Cirrus's example
> > code. Is the right-only recording problem fixed by this patch?
> >
>
> It is fixed. In the mbp101 init verbs, setting the vendor widget ADC
> configuration bit 12 to copy the ADC2 right channel to the left (0x1004 to
> nid 0x11 coef 2) is superfluous here, so presumably for the analogue mic
> in. I'll get time later to check all this.
>
> The second coefficient index initialisation (0x000f to nid 0x11 coef 4) is
> now redundant, as we enable the mic bits later correctly now. I'll send an
> updated patch which drops this.
OK, I applied fix patches now to sound git tree for-linus branch,
queued for 3.7-rc5.
Feel free to work on further clean ups.
thanks,
Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists