From mboxrd@z Thu Jan 1 00:00:00 1970 From: Troy Kisky Subject: Re: [PATCH 1/1] ASoC: Fix compilation error with davinci-sffsdr module Date: Thu, 15 Jan 2009 15:37:06 -0700 Message-ID: <496FBA92.6040907@boundarydevices.com> References: <1231277025-2100-1-git-send-email-hugo@hugovil.com> <20090106213116.GA3549@sirena.org.uk> <20090106164120.bd2fb16b.hugo@hugovil.com> <20090106220005.GB3549@sirena.org.uk> <20090114155406.a086c6ef.hugo@hugovil.com> <20090115111806.GB2147@sirena.org.uk> <20090115145454.17178d53.hugo@hugovil.com> <20090115200121.GH12768@sirena.org.uk> <496FB439.1090900@boundarydevices.com> <20090115172818.8a216670.hugo@hugovil.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from smtpauth03.csee.onr.siteprotect.com (smtpauth03.csee.onr.siteprotect.com [64.26.60.137]) by alsa0.perex.cz (Postfix) with ESMTP id 0701E1038BC for ; Thu, 15 Jan 2009 23:37:13 +0100 (CET) In-Reply-To: <20090115172818.8a216670.hugo@hugovil.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: Hugo Villeneuve Cc: davinci-linux-open-source@linux.davincidsp.com, alsa-devel@alsa-project.org, Mark Brown List-Id: alsa-devel@alsa-project.org Hugo Villeneuve wrote: > On Thu, 15 Jan 2009 15:10:01 -0700 > Troy Kisky wrote: > = >>> Hopefully a comparison of the mainline and DaVinci trees will show >>> something... >> In davinci-sffsdr.c I see >> >> ret =3D snd_soc_dai_set_fmt(cpu_dai, >> SND_SOC_DAIFMT_RIGHT_J | >> SND_SOC_DAIFMT_CBM_CFS | >> SND_SOC_DAIFMT_IB_NF); >> >> When I changed the evm board flags passed, I didn't change this file. >> So, you'll need something like >> >> ret =3D snd_soc_dai_set_fmt(cpu_dai, >> SND_SOC_DAIFMT_DSP_A | >> SND_SOC_DAIFMT_CBM_CFS | >> SND_SOC_DAIFMT_NB_NF); > = > I=B4m not using the same codec as on the EVM. I know your not using the AIC33, but if your using davinci-i2s, then the change will affect you. > I=B4m using the PCM3008 and I > need to use the right-justified mode and the SND_SOC_DAIFMT_IB_NF flag > for it to work (it used to work a few weeks/months ago). Davinci does not support a general right justified mode. But DSP_A may be close enough. Especially if it worked before. > = >> But, you should be seeing error messages. > = > Did someone test the latest git tree and audio on a DM644x EVM to see if > it still works? I don't have an evm, but our custom board works fine. Troy