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:
9b6a5ad
)
mfd: wm5102: Insert missing break in case statement
author
Lee Jones
<lee.jones@linaro.org>
Mon, 18 Aug 2014 14:05:01 +0000
(15:05 +0100)
committer
Lee Jones
<lee.jones@linaro.org>
Fri, 26 Sep 2014 07:15:31 +0000
(08:15 +0100)
Chip identifier wm5102_reva_patch is always overwritten with
wm5102_revb_patch, even when the code is run on a Rev-A chip. Place
in the missing break to force the code into doing something sensible
instead.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/wm5102-tables.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/wm5102-tables.c
b/drivers/mfd/wm5102-tables.c
index fb4d4bb0f47d5385bb90f22c814ce8f122b8a2bf..a219888d7f4b1f81a7cb64affd305f67ccbbc618 100644
(file)
--- a/
drivers/mfd/wm5102-tables.c
+++ b/
drivers/mfd/wm5102-tables.c
@@
-87,6
+87,7
@@
int wm5102_patch(struct arizona *arizona)
case 0:
wm5102_patch = wm5102_reva_patch;
patch_size = ARRAY_SIZE(wm5102_reva_patch);
+ break;
default:
wm5102_patch = wm5102_revb_patch;
patch_size = ARRAY_SIZE(wm5102_revb_patch);