* [PATCH] ASoC: McASP: Add pins output direction for rx clocks when configured in CBS_CFS format.
@ 2013-04-26 12:38 Marek Belisko
2013-04-30 18:44 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Marek Belisko @ 2013-04-26 12:38 UTC (permalink / raw)
To: perex, tiwai
Cc: alsa-devel, zonque, linux-kernel, lgirdwood, broonie, Marek Belisko
When McASP is bit clock and frame clock master enable pin output for rx clocks.
Signed-off-by: Marek Belisko <marek.belisko@streamunlimited.com>
---
sound/soc/davinci/davinci-mcasp.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
index d54e0d9..2953c55 100644
--- a/sound/soc/davinci/davinci-mcasp.c
+++ b/sound/soc/davinci/davinci-mcasp.c
@@ -505,7 +505,10 @@ static int davinci_mcasp_set_dai_fmt(struct snd_soc_dai *cpu_dai,
mcasp_set_bits(base + DAVINCI_MCASP_ACLKRCTL_REG, ACLKRE);
mcasp_set_bits(base + DAVINCI_MCASP_RXFMCTL_REG, AFSRE);
- mcasp_set_bits(base + DAVINCI_MCASP_PDIR_REG, ACLKX | AFSX);
+ mcasp_set_bits(base + DAVINCI_MCASP_PDIR_REG,
+ ACLKX | ACLKR);
+ mcasp_set_bits(base + DAVINCI_MCASP_PDIR_REG,
+ AFSX | AFSR);
break;
case SND_SOC_DAIFMT_CBM_CFS:
/* codec is clock master and frame slave */
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: McASP: Add pins output direction for rx clocks when configured in CBS_CFS format.
2013-04-26 12:38 [PATCH] ASoC: McASP: Add pins output direction for rx clocks when configured in CBS_CFS format Marek Belisko
@ 2013-04-30 18:44 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-04-30 18:44 UTC (permalink / raw)
To: Marek Belisko
Cc: perex, tiwai, alsa-devel, zonque, linux-kernel, lgirdwood, Marek Belisko
[-- Attachment #1: Type: text/plain, Size: 163 bytes --]
On Fri, Apr 26, 2013 at 02:38:11PM +0200, Marek Belisko wrote:
> When McASP is bit clock and frame clock master enable pin output for rx clocks.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-30 18:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-26 12:38 [PATCH] ASoC: McASP: Add pins output direction for rx clocks when configured in CBS_CFS format Marek Belisko
2013-04-30 18:44 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®