regulator: s5m8767: Add missing breaks
authorAxel Lin <axel.lin@gmail.com>
Thu, 12 Jan 2012 06:57:09 +0000 (14:57 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 20 Jan 2012 12:01:26 +0000 (12:01 +0000)
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>
drivers/regulator/s5m8767.c

index b3d356f5e271a2d5f0a6116c467484e09b4394be..40610126ab28a593ea7521728d0723089cd341a3 100644 (file)
@@ -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);