diff options
author | Thomas Weber <weber@corscience.de> | 2010-07-09 03:40:53 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-08-03 03:21:07 -0400 |
commit | 047b51fb208c716294b4682c904df8a3ad8b6a69 (patch) | |
tree | b3ab6ab5a71cc215e80344a0ad9aa01d42a70ca8 /arch/arm/mach-omap2 | |
parent | 2430f9df61e2ea47ea468dfe22b7e2db97111fb4 (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/powerdomain.c b/arch/arm/mach-omap2/powerdomain.c index a2904aa7065e..6527ec30dc17 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) | |||
875 | break; | 875 | break; |
876 | case 4: | 876 | case 4: |
877 | m = OMAP_MEM4_RETSTATE_MASK; | 877 | m = OMAP_MEM4_RETSTATE_MASK; |
878 | break; | ||
878 | default: | 879 | default: |
879 | WARN_ON(1); /* should never happen */ | 880 | WARN_ON(1); /* should never happen */ |
880 | return -EEXIST; | 881 | return -EEXIST; |