From cdd50a8d07cc648e8e2ec7b3f551b24bf2c45915 Mon Sep 17 00:00:00 2001 From: SRICHARAN R Date: Mon, 12 Mar 2012 02:25:39 +0000 Subject: [PATCH] OMAP5: hwinit: Add the missing break statement The break statement is missing in init_omap_revision function, resulting in a wrong revision identification. So fixing this. Signed-off-by: R Sricharan --- arch/arm/cpu/armv7/omap5/hwinit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/omap5/hwinit.c b/arch/arm/cpu/armv7/omap5/hwinit.c index d024ab5e32..68cf558f2d 100644 --- a/arch/arm/cpu/armv7/omap5/hwinit.c +++ b/arch/arm/cpu/armv7/omap5/hwinit.c @@ -155,6 +155,7 @@ void init_omap_revision(void) switch (rev) { case MIDR_CORTEX_A15_R0P0: *omap5_revision = OMAP5430_ES1_0; + break; default: *omap5_revision = OMAP5430_SILICON_ID_INVALID; } -- 2.25.1