diff options
| author | Axel Lin <[email protected]> | 2012-03-27 07:17:26 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2012-03-28 11:44:07 +0000 |
| commit | a171e782a97d4ba55d7fa02f9a46904288b2c229 (patch) | |
| tree | 2caf5e42cbfc264a442a0be5ac855f5ccc1beedb /lib/mpi/mpi-inline.h | |
| parent | regulator: anatop: patching to device-tree property "reg". (diff) | |
| download | kernel-a171e782a97d4ba55d7fa02f9a46904288b2c229.tar.gz kernel-a171e782a97d4ba55d7fa02f9a46904288b2c229.zip | |
regulator: wm831x-dcdc: Fix the logic to choose best current limit setting
Current code in wm831x_buckv_set_current_limit actually set the current limit
setting greater than specified range.
Fix the logic in wm831x_buckv_set_current_limit to choose the
smallest current limit setting falls within the specified range.
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
