diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-02-17 04:12:08 -0500 |
---|---|---|
committer | Liam Girdwood <lrg@ti.com> | 2012-03-12 09:34:19 -0400 |
commit | 0324e02a077de6bffff566fa43fd7b46f4b3ebd8 (patch) | |
tree | 177b60728837698f321a9336556cf8e19c39fe9c | |
parent | 303076342b8a30aa98f8a53b539155d0b81ff0c3 (diff) |
OMAP4: panda: Correct cpu version check for 4430
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@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
-rw-r--r-- | 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 1af564b0487e..e4415917693f 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c | |||
@@ -530,7 +530,7 @@ void omap4_panda_display_init(void) | |||
530 | 530 | ||
531 | static void omap4_panda_init_rev(void) | 531 | static void omap4_panda_init_rev(void) |
532 | { | 532 | { |
533 | if (cpu_is_omap4430()) { | 533 | if (cpu_is_omap443x()) { |
534 | /* PandaBoard 4430 */ | 534 | /* PandaBoard 4430 */ |
535 | /* ASoC audio configuration */ | 535 | /* ASoC audio configuration */ |
536 | panda_abe_audio_data.card_name = "PandaBoard"; | 536 | panda_abe_audio_data.card_name = "PandaBoard"; |