regulator: da9052: Ensure setting current limit within specific range
authorAxel Lin <axel.lin@ingics.com>
Mon, 26 Nov 2012 07:23:38 +0000 (15:23 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 27 Nov 2012 20:22:53 +0000 (20:22 +0000)
Checking da9052_current_limits[row][i] <= max_uA is not enough, it is possible
da9052_current_limits[row][i] may less than the requested min_uA.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found