summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/s5m8767.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-01-12 07:57:09 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-20 13:01:26 +0100
commit047ec220a49f96ab0f8bd0bc574368e2cae8f1f7 (patch)
tree7fd37707f0857535432ccff10d487d5214ea6c28 /drivers/regulator/s5m8767.c
parentregulator: Add S5M8767A regulator driver (diff)
downloadlinux-047ec220a49f96ab0f8bd0bc574368e2cae8f1f7.tar.xz
linux-047ec220a49f96ab0f8bd0bc574368e2cae8f1f7.zip
regulator: s5m8767: Add missing breaks
Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/s5m8767.c')
-rw-r--r--drivers/regulator/s5m8767.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c
index b3d356f5e271..40610126ab28 100644
--- a/drivers/regulator/s5m8767.c
+++ b/drivers/regulator/s5m8767.c
@@ -742,15 +742,19 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev)
case 15:
s5m_reg_update(s5m8767->iodev, S5M8767_REG_DVSRAMP,
0xc0, 0xf0);
+ break;
case 25:
s5m_reg_update(s5m8767->iodev, S5M8767_REG_DVSRAMP,
0xd0, 0xf0);
+ break;
case 50:
s5m_reg_update(s5m8767->iodev, S5M8767_REG_DVSRAMP,
0xe0, 0xf0);
+ break;
case 100:
s5m_reg_update(s5m8767->iodev, S5M8767_REG_DVSRAMP,
0xf0, 0xf0);
+ break;
default:
s5m_reg_update(s5m8767->iodev, S5M8767_REG_DVSRAMP,
0x90, 0xf0);