mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-30 13:38:40 +00:00
Merge remote-tracking branch 'regulator/topic/tps62360' into v3.9-rc8
This commit is contained in:
commit
22a712b90c
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user