From: Takashi Iwai Subject: Re: hda: Cirrus: fixes for CS4207 coef setup Date: Fri, 02 Nov 2012 10:07:43 +0100 Message-ID: References: <1351773758-1010-1-git-send-email-alexander.stein@systec-electronic.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 (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 59D1A26159B for ; Fri, 2 Nov 2012 10:07:44 +0100 (CET) In-Reply-To: <1351773758-1010-1-git-send-email-alexander.stein@systec-electronic.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Alexander Stein Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 1 Nov 2012 13:42:36 +0100, Alexander Stein wrote: > > Hi, > > I'm noticing some problems using the CS4207 codec with out custom board. > Output works fine so far, but I noticed that input on ADC1 (blue) is just mono > and input on ADC2 (pink) is reversed stereo. Both tests were done by playing > a wav on an output and directly feeding the input. After some investigations, > I found out, that coef in the patch_cirrus driver don't match the CS4207 > datasheet (CS4207-F4). As the driver also mentions CS4206 I'm aware that my > pathces might not be suitable in general, but I couldn't find any datasheet > for CS4206 so I can't compare the coef settings. > Summarized here: > * The beep bits were written to the wrong index (See CS4207-F4 6.15.6.5 > BeepConfiguration(CIR=0004h)) > * The DMIC enable signals were written to the wrong index (Same chapter as > above) > As the drivers sets 2 DMIC bits each, while CS4207 has only 1 for each, the > coef interface might be different on both codec. > > Maybe someone with more detailed knowledge about the CS4206 can put his > comments. Thanks for the patch. I'll take a look at these in the next week and queue as 3.7 fixes if they are OK (I suppose so, judging through a quick glance). Takashi