* RE: [PATCHv2] omap3: alsa-soc: Remove restrictive checks for cpu type
[not found] <1300116162-25488-1-git-send-email-premi@ti.com>
@ 2011-03-16 8:28 ` Premi, Sanjeev
0 siblings, 0 replies; 2+ messages in thread
From: Premi, Sanjeev @ 2011-03-16 8:28 UTC (permalink / raw)
To: linux-omap@vger.kernel.org, alsa-devel@alsa-project.org,
linux-arm-kernel@lists.infradead.org
> -----Original Message-----
> From: Premi, Sanjeev
> Sent: Monday, March 14, 2011 8:53 PM
> To: linux-omap@vger.kernel.org; alsa-devel@alsa-project.org;
> linux-arm-kernel@lists.infradead.org
> Cc: Premi, Sanjeev
> Subject: [PATCHv2] omap3: alsa-soc: Remove restrictive checks
> for cpu type
>
> Current checks for cpu type were 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>
> ---
> Changes in this version:
> 1) Added one more check to the changes.
> 2) Updated commit message to use plurals.
>
> sound/soc/omap/omap-mcbsp.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
[sp] This patch didn't seem to be lost in transit!
Sending it again.
Did anyone else ever face this issue?
~sanjeev
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCHv2] omap3: alsa-soc: Remove restrictive checks for cpu type
@ 2011-03-16 8:31 Sanjeev Premi
0 siblings, 0 replies; 2+ messages in thread
From: Sanjeev Premi @ 2011-03-16 8:31 UTC (permalink / raw)
To: linux-omap, alsa-devel, linux-arm-kernel; +Cc: Sanjeev Premi
Current checks for cpu type were 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>
---
Changes in this version:
1) Added one more check to the changes.
2) Updated commit message to use plurals.
sound/soc/omap/omap-mcbsp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index 2175f09..a88a0bf 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
@@ -258,7 +258,7 @@ static int omap_mcbsp_dai_hw_params(struct snd_pcm_substream *substream,
default:
return -EINVAL;
}
- if (cpu_is_omap343x()) {
+ if (cpu_is_omap34xx()) {
dma_data->set_threshold = omap_mcbsp_set_threshold;
/* TODO: Currently, MODE_ELEMENT == MODE_FRAME */
if (omap_mcbsp_get_dma_op_mode(bus_id) ==
--
1.7.2.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-16 8:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-16 8:31 [PATCHv2] omap3: alsa-soc: Remove restrictive checks for cpu type Sanjeev Premi
[not found] <1300116162-25488-1-git-send-email-premi@ti.com>
2011-03-16 8:28 ` Premi, Sanjeev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).