aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/max8997.h
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2012-11-23 13:33:14 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-24 18:57:04 +0100
commit068a8c8239d50a5fd025c97f94945d9f2ffa3438 (patch)
treec31e3bf13f37930a60b316cae3c1fe2ead7297ca /include/linux/mfd/max8997.h
parentregulator: max8997: reorder buck1/2/5 dvs setup code (diff)
downloadlinux-dev-068a8c8239d50a5fd025c97f94945d9f2ffa3438.tar.xz
linux-dev-068a8c8239d50a5fd025c97f94945d9f2ffa3438.zip
regulator: max8997: limit the number of dvs registers programmed in non-dvs mode
In case the gpio based volatage selection mode is not used for either of buck 1/2/5, then only the BUCKxDVS1 register need to be programmed. So determine whether dvs mode is used and limit the loop count appropriately. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd/max8997.h')
0 files changed, 0 insertions, 0 deletions