ARM: OMAP: id: Add missing break statement in omap3xxx_check_revision
authorVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 07:56:47 +0000 (13:26 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 29 Feb 2012 22:41:35 +0000 (14:41 -0800)
Add missing break statement in the function omap3xxx_check_revision.

The commit id 4390f5b2cb1f56 [ARM: OMAP: TI814X: Add cpu type macros
and detection support], removed the 'break' statement from the function
omap3xxx_check_revision(), resulting into wrong omap/cpu_revision
initialization for AM335x devices.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
[tony@atomide.com: refreshed to apply after changes to cpu_rev]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/id.c

index 6c5826605eaec5792b5f93c137fc9e32c2bc9f9f..719ee423abe22be6439cb4b3dd0ce78dcecb41b5 100644 (file)
@@ -343,6 +343,7 @@ static void __init omap3_check_revision(const char **cpu_rev)
        case 0xb944:
                omap_revision = AM335X_REV_ES1_0;
                *cpu_rev = "1.0";
+               break;
        case 0xb8f2:
                switch (rev) {
                case 0: