* [PATCH] ASoC: omap-mcbsp: Remove restrictive checks for cpu type
@ 2011-05-11 13:55 Sanjeev Premi
2011-05-11 13:57 ` Mark Brown
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Sanjeev Premi @ 2011-05-11 13:55 UTC (permalink / raw)
To: linux-arm-kernel
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>
cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
cc: Liam Girdwood <lrg@ti.com>
cc: Jarkko Nikula <jhnikula@gmail.com>
---
Changes in v4:
Reposting after validating that patch still applies cleanly on
linux-omap master [46966f1]
Changed the subject as suggested by Jarkko. Since the subject
has changed, i have omitted v4.
Changes in v3::
None. Reposting[1] after subscribing to alsa-devel list
Changes in v2:
1) Added one more check to the changes.
2) Updated commit message to use plurals.
[1] http://marc.info/?l=linux-omap&m=130026430110592&w=2
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] 5+ messages in thread
* [PATCH] ASoC: omap-mcbsp: Remove restrictive checks for cpu type
2011-05-11 13:55 [PATCH] ASoC: omap-mcbsp: Remove restrictive checks for cpu type Sanjeev Premi
@ 2011-05-11 13:57 ` Mark Brown
2011-05-11 14:44 ` [alsa-devel] " Peter Ujfalusi
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2011-05-11 13:57 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, May 11, 2011 at 07:25:35PM +0530, Sanjeev Premi wrote:
> 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.
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [alsa-devel] [PATCH] ASoC: omap-mcbsp: Remove restrictive checks for cpu type
2011-05-11 13:55 [PATCH] ASoC: omap-mcbsp: Remove restrictive checks for cpu type Sanjeev Premi
2011-05-11 13:57 ` Mark Brown
@ 2011-05-11 14:44 ` Peter Ujfalusi
2011-05-11 15:38 ` Jarkko Nikula
2011-05-13 12:13 ` Liam Girdwood
3 siblings, 0 replies; 5+ messages in thread
From: Peter Ujfalusi @ 2011-05-11 14:44 UTC (permalink / raw)
To: linux-arm-kernel
On Wednesday 11 May 2011 16:55:35 Premi, Sanjeev wrote:
> 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>
> cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
> cc: Liam Girdwood <lrg@ti.com>
> cc: Jarkko Nikula <jhnikula@gmail.com>
> ---
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] ASoC: omap-mcbsp: Remove restrictive checks for cpu type
2011-05-11 13:55 [PATCH] ASoC: omap-mcbsp: Remove restrictive checks for cpu type Sanjeev Premi
2011-05-11 13:57 ` Mark Brown
2011-05-11 14:44 ` [alsa-devel] " Peter Ujfalusi
@ 2011-05-11 15:38 ` Jarkko Nikula
2011-05-13 12:13 ` Liam Girdwood
3 siblings, 0 replies; 5+ messages in thread
From: Jarkko Nikula @ 2011-05-11 15:38 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, 11 May 2011 19:25:35 +0530
Sanjeev Premi <premi@ti.com> wrote:
> 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>
> cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
> cc: Liam Girdwood <lrg@ti.com>
> cc: Jarkko Nikula <jhnikula@gmail.com>
> ---
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] ASoC: omap-mcbsp: Remove restrictive checks for cpu type
2011-05-11 13:55 [PATCH] ASoC: omap-mcbsp: Remove restrictive checks for cpu type Sanjeev Premi
` (2 preceding siblings ...)
2011-05-11 15:38 ` Jarkko Nikula
@ 2011-05-13 12:13 ` Liam Girdwood
3 siblings, 0 replies; 5+ messages in thread
From: Liam Girdwood @ 2011-05-13 12:13 UTC (permalink / raw)
To: linux-arm-kernel
On 11/05/11 14:55, Premi, Sanjeev wrote:
> 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>
> cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
> cc: Liam Girdwood <lrg@ti.com>
> cc: Jarkko Nikula <jhnikula@gmail.com>
> ---
>
> Changes in v4:
> Reposting after validating that patch still applies cleanly on
> linux-omap master [46966f1]
>
> Changed the subject as suggested by Jarkko. Since the subject
> has changed, i have omitted v4.
>
> Changes in v3::
> None. Reposting[1] after subscribing to alsa-devel list
>
> Changes in v2:
> 1) Added one more check to the changes.
> 2) Updated commit message to use plurals.
>
>
>
Applied.
Thanks
Liam
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-05-13 12:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-11 13:55 [PATCH] ASoC: omap-mcbsp: Remove restrictive checks for cpu type Sanjeev Premi
2011-05-11 13:57 ` Mark Brown
2011-05-11 14:44 ` [alsa-devel] " Peter Ujfalusi
2011-05-11 15:38 ` Jarkko Nikula
2011-05-13 12:13 ` Liam Girdwood
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).