git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a171e78
)
regulator: wm831x-isink: Fix the logic to choose best current limit setting
author
Axel Lin
<axel.lin@gmail.com>
Tue, 27 Mar 2012 07:18:53 +0000
(15:18 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 28 Mar 2012 11:44:07 +0000
(12:44 +0100)
Current code in wm831x_isink_set_current actually set the current limit setting
smaller than specified range.
Fix the logic in wm831x_isink_set_current to choose the smallest current limit
setting falls within the specified range.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
No differences found