aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/lp8755.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/lp8755.c')
-rw-r--r--drivers/regulator/lp8755.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp8755.c b/drivers/regulator/lp8755.c
index 06a82e2cbf4b..decb3adbf04a 100644
--- a/drivers/regulator/lp8755.c
+++ b/drivers/regulator/lp8755.c
@@ -301,7 +301,7 @@ static int lp8755_init_data(struct lp8755_chip *pchip)
301 ret = lp8755_read(pchip, 0x3D, &regval); 301 ret = lp8755_read(pchip, 0x3D, &regval);
302 if (ret < 0) 302 if (ret < 0)
303 goto out_i2c_error; 303 goto out_i2c_error;
304 pchip->mphase = regval & 0x07; 304 pchip->mphase = regval & 0x0F;
305 305
306 /* set default data based on multi-phase config */ 306 /* set default data based on multi-phase config */
307 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { 307 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) {