OMAP4: panda: Correct cpu version check for 4430
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 17 Feb 2012 09:12:08 +0000 (11:12 +0200)
committerLiam Girdwood <lrg@ti.com>
Mon, 12 Mar 2012 13:34:19 +0000 (13:34 +0000)
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>
arch/arm/mach-omap2/board-omap4panda.c

index 1af564b0487ee1e5428d98f562a9a1562793ade7..e4415917693f3d04cfa096283c031d8780b56321 100644 (file)
@@ -530,7 +530,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";