summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-02-17 13:12:08 +0400
committerLiam Girdwood <lrg@ti.com>2012-03-12 17:34:19 +0400
commit0324e02a077de6bffff566fa43fd7b46f4b3ebd8 (patch)
tree177b60728837698f321a9336556cf8e19c39fe9c
parent303076342b8a30aa98f8a53b539155d0b81ff0c3 (diff)
downloadlinux-0324e02a077de6bffff566fa43fd7b46f4b3ebd8.tar.xz
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.c2
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)
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";