diff options
author | Vaibhav Hiremath <hvaibhav@ti.com> | 2012-01-23 07:56:47 (GMT) |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-29 22:41:35 (GMT) |
commit | c2d1355476b555b54c26d20962211fcf06b8c55f (patch) | |
tree | 3aad6c44ea6b7ba301fa58941c7f9c5f45a05e93 /arch/arm/mach-omap2/id.c | |
parent | d867093d412c32e246570e6d07bd987b067d688d (diff) | |
download | linux-c2d1355476b555b54c26d20962211fcf06b8c55f.tar.xz |
ARM: OMAP: id: Add missing break statement in omap3xxx_check_revision
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>
Diffstat (limited to 'arch/arm/mach-omap2/id.c')
-rw-r--r-- | arch/arm/mach-omap2/id.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 6c58266..719ee42 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c @@ -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: |