summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorThomas Weber <weber@corscience.de>2010-07-09 07:40:53 +0000
committerTony Lindgren <tony@atomide.com>2010-08-03 10:21:07 +0300
commit047b51fb208c716294b4682c904df8a3ad8b6a69 (patch)
treeb3ab6ab5a71cc215e80344a0ad9aa01d42a70ca8 /arch/arm/mach-omap2
parent2430f9df61e2ea47ea468dfe22b7e2db97111fb4 (diff)
downloadlinux-3.10-047b51fb208c716294b4682c904df8a3ad8b6a69.tar.gz
linux-3.10-047b51fb208c716294b4682c904df8a3ad8b6a69.tar.bz2
linux-3.10-047b51fb208c716294b4682c904df8a3ad8b6a69.zip
OMAP2: powerdomain: Add break in switch statement
Add a missing break at end of switch statement. At the moment it is a fall through to WARN_ON(1) and return -EEXIST. Signed-off-by: Thomas Weber <weber@corscience.de> Acked-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/powerdomain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/powerdomain.c b/arch/arm/mach-omap2/powerdomain.c
index a2904aa7065..6527ec30dc1 100644
--- a/arch/arm/mach-omap2/powerdomain.c
+++ b/arch/arm/mach-omap2/powerdomain.c
@@ -875,6 +875,7 @@ int pwrdm_read_mem_retst(struct powerdomain *pwrdm, u8 bank)
break;
case 4:
m = OMAP_MEM4_RETSTATE_MASK;
+ break;
default:
WARN_ON(1); /* should never happen */
return -EEXIST;