All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: SAMSUNG: Fix the inverted clocks handling for pcm driver
@ 2011-04-09  1:53 Sangbeom Kim
  2011-04-09  4:45 ` Jassi Brar
  2011-04-11 20:15 ` Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Sangbeom Kim @ 2011-04-09  1:53 UTC (permalink / raw)
  To: alsa-devel, linux-samsung-soc
  Cc: jassisinghbrar, lrg, broonie, kgene.kim, ben-linux, Sangbeom Kim

Fix the inverted clocks handling for pcm cpu driver.
By using SND_SOC_DAIFMT_NB_NF, Audio noise can be generated on SMDK.

Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
---
 sound/soc/samsung/pcm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c
index 38aac7d..9c7e8b4 100644
--- a/sound/soc/samsung/pcm.c
+++ b/sound/soc/samsung/pcm.c
@@ -350,8 +350,8 @@ static int s3c_pcm_set_fmt(struct snd_soc_dai *cpu_dai,
 	ctl = readl(regs + S3C_PCM_CTL);
 
 	switch (fmt & SND_SOC_DAIFMT_INV_MASK) {
-	case SND_SOC_DAIFMT_NB_NF:
-		/* Nothing to do, NB_NF by default */
+	case SND_SOC_DAIFMT_IB_NF:
+		/* Nothing to do, IB_NF by default */
 		break;
 	default:
 		dev_err(pcm->dev, "Unsupported clock inversion!\n");
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-11 20:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-09  1:53 [PATCH] ASoC: SAMSUNG: Fix the inverted clocks handling for pcm driver Sangbeom Kim
2011-04-09  4:45 ` Jassi Brar
2011-04-11 19:53   ` [alsa-devel] " Liam Girdwood
2011-04-11 20:15 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.