All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/5] [RFC] ALSA ASOC Adds DSP DAI format support for platform driver
@ 2008-09-29  9:50 Arun KS
  2008-09-29 11:06 ` Mark Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Arun KS @ 2008-09-29  9:50 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org List, alsa-devel; +Cc: Jarkko Nikula, felipe.balbi

Enables DSP DAI format for mcbsp in omap platform driver

Signed-off-by: Arun KS <arunks@mistralsolutions.com>
---
 sound/soc/omap/omap-mcbsp.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index 3a4cc4b..1c024aa 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -292,6 +292,12 @@ static int omap_mcbsp_dai_set_dai_fmt(struct
snd_soc_dai *cpu_dai,
 		regs->rcr2	|= RDATDLY(1);
 		regs->xcr2	|= XDATDLY(1);
 		break;
+	case SND_SOC_DAIFMT_DSP_A:
+		/* 0-bit data delay */
+		regs->rcr2	|= RDATDLY(0);
+		regs->xcr2	|= XDATDLY(0);
+		break;
+
 	default:
 		/* Unsupported data format */
 		return -EINVAL;
-- 
1.5.3.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [PATCH 3/5] [RFC] ALSA ASOC Adds DSP DAI format support for platform driver
@ 2008-09-29  9:50 Arun KS
  0 siblings, 0 replies; 11+ messages in thread
From: Arun KS @ 2008-09-29  9:50 UTC (permalink / raw)
  To: alsa-devel; +Cc: felipe.balbi, Jarkko Nikula

Enables DSP DAI format for mcbsp in omap platform driver

Signed-off-by: Arun KS <arunks@mistralsolutions.com>
---
 sound/soc/omap/omap-mcbsp.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index 3a4cc4b..1c024aa 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -292,6 +292,12 @@ static int omap_mcbsp_dai_set_dai_fmt(struct
snd_soc_dai *cpu_dai,
 		regs->rcr2	|= RDATDLY(1);
 		regs->xcr2	|= XDATDLY(1);
 		break;
+	case SND_SOC_DAIFMT_DSP_A:
+		/* 0-bit data delay */
+		regs->rcr2	|= RDATDLY(0);
+		regs->xcr2	|= XDATDLY(0);
+		break;
+
 	default:
 		/* Unsupported data format */
 		return -EINVAL;
-- 
1.5.3.4

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

end of thread, other threads:[~2008-09-30 13:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-29  9:50 [PATCH 3/5] [RFC] ALSA ASOC Adds DSP DAI format support for platform driver Arun KS
2008-09-29 11:06 ` Mark Brown
2008-09-29 11:15 ` Jarkko Nikula
2008-09-29 11:15 ` Jarkko Nikula
2008-09-29 12:54   ` Arun KS
2008-09-29 12:54   ` Arun KS
2008-09-30  6:41   ` Arun KS
2008-09-30  6:41   ` Arun KS
2008-09-30 13:11     ` Jarkko Nikula
2008-09-30 13:11     ` Jarkko Nikula
  -- strict thread matches above, loose matches on Subject: below --
2008-09-29  9:50 Arun KS

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.