Skip to content

Commit

Permalink
Merge remote-tracking branch 'regulator/topic/tps62360' into v3.9-rc8
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Apr 28, 2013
2 parents eea8e85 + 1864b67 commit 22a712b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/tps62360-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ static int tps62360_init_dcdc(struct tps62360_chip *tps,
__func__, REG_RAMPCTRL, ret);
return ret;
}
ramp_ctrl = (ramp_ctrl >> 4) & 0x7;
ramp_ctrl = (ramp_ctrl >> 5) & 0x7;

/* ramp mV/us = 32/(2^ramp_ctrl) */
tps->desc.ramp_delay = DIV_ROUND_UP(32000, BIT(ramp_ctrl));
Expand Down

0 comments on commit 22a712b

Please sign in to comment.