All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] omap3: alsa-soc: Remove restrictive check for cpu type
@ 2011-03-14 13:31 ` Sanjeev Premi
  0 siblings, 0 replies; 10+ messages in thread
From: Sanjeev Premi @ 2011-03-14 13:31 UTC (permalink / raw)
  To: linux-omap, alsa-devel, linux-arm-kernel; +Cc: Sanjeev Premi

Current check for cpu type is too restrictive leading to
failures for other silicons in same family.

The problem was found while testing audio playback on
AM37x and AM35x processors. But should exist on OMAP36xx
as well.

Signed-off-by: Sanjeev Premi <premi@ti.com>
---
 sound/soc/omap/omap-mcbsp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index 2175f09..84d434a 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -146,7 +146,7 @@ static int omap_mcbsp_dai_startup(struct snd_pcm_substream *substream,
 	 * 2 channels (stereo): size is 128 / 2 = 64 frames (2 * 64 words)
 	 * 4 channels: size is 128 / 4 = 32 frames (4 * 32 words)
 	 */
-	if (cpu_is_omap343x() || cpu_is_omap44xx()) {
+	if (cpu_is_omap34xx() || cpu_is_omap44xx()) {
 		/*
 		* Rule for the buffer size. We should not allow
 		* smaller buffer than the FIFO size to avoid underruns
-- 
1.7.2.2


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

end of thread, other threads:[~2011-03-14 14:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-14 13:31 [PATCH] omap3: alsa-soc: Remove restrictive check for cpu type Sanjeev Premi
2011-03-14 13:31 ` Sanjeev Premi
2011-03-14 13:55 ` Jarkko Nikula
2011-03-14 13:55   ` Jarkko Nikula
2011-03-14 14:00   ` Jarkko Nikula
2011-03-14 14:00     ` Jarkko Nikula
2011-03-14 14:17     ` Premi, Sanjeev
2011-03-14 14:17       ` Premi, Sanjeev
2011-03-14 14:25       ` Premi, Sanjeev
2011-03-14 14:25         ` Premi, Sanjeev

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.