omap3: alsa-soc: Remove restrictive check for cpu type
PATCH 1/1 omap3: alsa-soc: Remove restrictive check for cpu type
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.
--- sound/soc/omap/omap-mcbsp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/omap/omap-mcbsp.c +1 -1
@@ -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
Signature · 1 line
1.7.2.2
Quoted 12 lines · On Mon, 14 Mar 2011 19:01:53 +0530 Sanjeev Premi <[email protected]> wrote:
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 <[email protected]>--- sound/soc/omap/omap-mcbsp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
There are two other cpu_is_omap343x tests as well. Care to check them too?
Signature · 1 line
Jarkko
Quoted 10 lines · On Mon, 14 Mar 2011 15:55:42 +0200 Jarkko Nikula <[email protected]> wrote:
Quoted 7 lines · On Mon, 14 Mar 2011 19:01:53 +0530 Sanjeev Premi <[email protected]> wrote:
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.
Quoted 8 lines
Quoted 5 lines
Signed-off-by Sanjeev Premi <[email protected]>--- sound/soc/omap/omap-mcbsp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)There are two other
cpu_is_omap343xtests as well. Care to check them too?
Sorry, only one additional test. I forgot the commit 2686e07 "ASoC:
McBSP: get hw params from McBSP driver" that is coming via linux-omap and which removes one test.
Signature · 1 line
Jarkko
Quoted 27 lines
-----Original Message-----
From: Jarkko Nikula [mailto:[email protected]]
Sent: Monday, March 14, 2011 7:31 PM
To: Premi, Sanjeev
Cc: [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH] omap3: alsa-soc: Remove restrictive check for cpu typeQuoted 15 lines · On Mon, 14 Mar 2011 15:55:42 +0200 Jarkko Nikula <[email protected]> wrote:
Quoted 12 lines · On Mon, 14 Mar 2011 19:01:53 +0530 Sanjeev Premi <[email protected]> wrote:
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 <[email protected]>--- sound/soc/omap/omap-mcbsp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Quoted 7 lines
Quoted 1 line
There are two other
cpu_is_omap343xtests as well. Care tocheck them
Quoted 2 lines
too?
Sorry, only one additional test. I forgot the commit 2686e07 "ASoC:
McBSP: get hw params from McBSP driver" that is coming via linux-omap and which removes one test.
Checking now...
~sanjeev
Quoted 4 lines
Signature · 2 lines
-- Jarkko
Quoted 41 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Premi, Sanjeev
Sent: Monday, March 14, 2011 7:47 PM
To: Jarkko Nikula
Cc: [email protected]; [email protected]; [email protected]
Subject: RE: [PATCH] omap3: alsa-soc: Remove restrictive check for cpu typeQuoted 29 lines
-----Original Message-----
From: Jarkko Nikula [mailto:[email protected]]
Sent: Monday, March 14, 2011 7:31 PM
To: Premi, Sanjeev
Cc: [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH] omap3: alsa-soc: Remove restrictive check for cpu typeQuoted 10 lines · On Mon, 14 Mar 2011 15:55:42 +0200 Jarkko Nikula <[email protected]> wrote:
Quoted 7 lines · On Mon, 14 Mar 2011 19:01:53 +0530 Sanjeev Premi <[email protected]> wrote:
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.
Quoted 6 lines
Quoted 5 lines
Signed-off-by Sanjeev Premi <[email protected]>--- sound/soc/omap/omap-mcbsp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)There are two other
cpu_is_omap343xtests as well. Care tocheck them
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
too?
Sorry, only one additional test. I forgot the commit 2686e07 "ASoC:
McBSP: get hw params from McBSP driver" that is coming vialinux-omap
Quoted 1 line
and which removes one test.
Checking now...
Other check shouldn't be there are well... Had asked someone (off-this -list) to help me test the change - but seems to be in todo.
Will test it myself and post updated patch today...
Quoted 12 lines
~sanjeev
Quoted 4 lines
Signature · 3 lines
-- Jarkko --To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html