aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm5102-tables.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-08-18 10:05:01 -0400
committerLee Jones <lee.jones@linaro.org>2014-09-26 03:15:31 -0400
commit616e047992a4621a09ef45182076ff09b2495dec (patch)
treef20e6114e9d13ec668fc9acc2d8b1eeb1914fc4e /drivers/mfd/wm5102-tables.c
parent9b6a5ad9da4118e8c2a087501ddff33f51a9e6ba (diff)
mfd: wm5102: Insert missing break in case statement
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>
Diffstat (limited to 'drivers/mfd/wm5102-tables.c')
-rw-r--r--drivers/mfd/wm5102-tables.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c
index fb4d4bb0f47d..a219888d7f4b 100644
--- a/drivers/mfd/wm5102-tables.c
+++ b/drivers/mfd/wm5102-tables.c
@@ -87,6 +87,7 @@ int wm5102_patch(struct arizona *arizona)
87 case 0: 87 case 0:
88 wm5102_patch = wm5102_reva_patch; 88 wm5102_patch = wm5102_reva_patch;
89 patch_size = ARRAY_SIZE(wm5102_reva_patch); 89 patch_size = ARRAY_SIZE(wm5102_reva_patch);
90 break;
90 default: 91 default:
91 wm5102_patch = wm5102_revb_patch; 92 wm5102_patch = wm5102_revb_patch;
92 patch_size = ARRAY_SIZE(wm5102_revb_patch); 93 patch_size = ARRAY_SIZE(wm5102_revb_patch);