Merge remote-tracking branch 'regulator/fix/ti-abb' into regulator-linus
authorMark Brown <broonie@linaro.org>
Thu, 24 Oct 2013 10:11:31 +0000 (11:11 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 24 Oct 2013 10:11:31 +0000 (11:11 +0100)
drivers/regulator/ti-abb-regulator.c

index 20c271d49dcbbd358e03d5140d05e9da4ca54952..b993ec570f66f7f85a8b30b6f468a9ef369c99be 100644 (file)
@@ -615,7 +615,7 @@ static int ti_abb_init_table(struct device *dev, struct ti_abb *abb,
                                        pname, *volt_table, vset_mask);
                        continue;
                }
-               info->vset = efuse_val & vset_mask >> __ffs(vset_mask);
+               info->vset = (efuse_val & vset_mask) >> __ffs(vset_mask);
                dev_dbg(dev, "[%d]v=%d vset=%x\n", i, *volt_table, info->vset);
 check_abb:
                switch (info->opp_sel) {
This page took 0.03663 seconds and 5 git commands to generate.