]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: s2mps11: Don't check enable_shift before setting enable ramp rate
authorAxel Lin <axel.lin@ingics.com>
Fri, 21 Mar 2014 08:16:24 +0000 (16:16 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 2 Apr 2014 19:53:16 +0000 (20:53 +0100)
commitbd2d131a0fa3fd6f698ad12bb159e6005b661e2b
tree6258b5dd681cf55e1c1c532143ab210d050ab8cb
parent98517bbfa9c4d96276d1bb2aacd868c3f087336c
regulator: s2mps11: Don't check enable_shift before setting enable ramp rate

Current code misses updating the register when enable_shift is 0.
e.g. S2MPS11_BUCK9_RAMP_SHIFT and S2MPS11_BUCK6_RAMP_EN_SHIFT are 0.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/s2mps11.c