[alsa-devel] [PATCH] OMAP4: panda: Correct cpu version check for 4430

Peter Ujfalusi peter.ujfalusi at ti.com
Fri Feb 17 10:27:41 CET 2012


The cpu_is_omap4430() macro always return with 0. Use the correct
cpu_is_omap443x() to check for Panda revision.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
---

Hi,

Since the depending patches are going via Liam's tree it would be best if we
can queue this via audio as well.
Without this patch the audio on Panda 4430 is not working correctly.

Regards,
Peter

 arch/arm/mach-omap2/board-omap4panda.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index eada955..74db647 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -520,7 +520,7 @@ void omap4_panda_display_init(void)
 
 static void omap4_panda_init_rev(void)
 {
-	if (cpu_is_omap4430()) {
+	if (cpu_is_omap443x()) {
 		/* PandaBoard 4430 */
 		/* ASoC audio configuration */
 		panda_abe_audio_data.card_name = "PandaBoard";
-- 
1.7.8.4



More information about the Alsa-devel mailing list