projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2430f9d
)
OMAP2: powerdomain: Add break in switch statement
author
Thomas Weber
<weber@corscience.de>
Fri, 9 Jul 2010 07:40:53 +0000
(07:40 +0000)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 3 Aug 2010 07:21:07 +0000
(10:21 +0300)
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>
arch/arm/mach-omap2/powerdomain.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/powerdomain.c
b/arch/arm/mach-omap2/powerdomain.c
index a2904aa7065e6f47d6a4f531d4aca7ea6e9a0411..6527ec30dc17ec7e57469ec7fc451cc320ccfd1b 100644
(file)
--- 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;