diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/regulator/ti-abb-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/ti-abb-regulator.c b/drivers/regulator/ti-abb-regulator.c index 20c271d49dcb..b993ec570f66 100644 --- a/drivers/regulator/ti-abb-regulator.c +++ b/drivers/regulator/ti-abb-regulator.c | |||
@@ -615,7 +615,7 @@ static int ti_abb_init_table(struct device *dev, struct ti_abb *abb, | |||
615 | pname, *volt_table, vset_mask); | 615 | pname, *volt_table, vset_mask); |
616 | continue; | 616 | continue; |
617 | } | 617 | } |
618 | info->vset = efuse_val & vset_mask >> __ffs(vset_mask); | 618 | info->vset = (efuse_val & vset_mask) >> __ffs(vset_mask); |
619 | dev_dbg(dev, "[%d]v=%d vset=%x\n", i, *volt_table, info->vset); | 619 | dev_dbg(dev, "[%d]v=%d vset=%x\n", i, *volt_table, info->vset); |
620 | check_abb: | 620 | check_abb: |
621 | switch (info->opp_sel) { | 621 | switch (info->opp_sel) { |