Home
last modified time | relevance | path

Searched hist:"51 e2fc0a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Ds2mpa01.c51e2fc0a Tue May 06 01:37:37 CDT 2014 Krzysztof Kozlowski <k.kozlowski@samsung.com> regulator: s2mpa01: Fix accidental enable of buck4 ramp delay

S2MPA01 supports enabling/disabling ramp delay only for buck[1234].
Other bucks have ramp delay enabled always.

However the bit shift for enabling buck4 ramp delay in register is equal
to 0. When ramp delay was set for the bucks unsupporting enable/disable
(buck[56789] and buck10), the ramp delay for buck4 was also enabled.

Fixes: f7b1a8dc1c1c ("regulator: s2mpa01: Don't check enable_shift before setting enable ramp rate")
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
51e2fc0a Tue May 06 01:37:37 CDT 2014 Krzysztof Kozlowski <k.kozlowski@samsung.com> regulator: s2mpa01: Fix accidental enable of buck4 ramp delay

S2MPA01 supports enabling/disabling ramp delay only for buck[1234].
Other bucks have ramp delay enabled always.

However the bit shift for enabling buck4 ramp delay in register is equal
to 0. When ramp delay was set for the bucks unsupporting enable/disable
(buck[56789] and buck10), the ramp delay for buck4 was also enabled.

Fixes: f7b1a8dc1c1c ("regulator: s2mpa01: Don't check enable_shift before setting enable ramp rate")
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>