diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-05-06 08:37:36 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-17 14:29:26 +0100 |
commit | b203e0dfe1a2b0ae5e2681e9285056e4ae8560af (patch) | |
tree | a6ba96e7b12826e8297e1fb94767cd70ba7dfa4c /drivers/regulator/palmas-regulator.c | |
parent | de5d05637f7e036a8122757b18ca6cfd1300f233 (diff) |
regulator: s2mps11: Fix accidental enable of buck6 ramp delay
S2MPS11 supports enabling/disabling ramp delay only for buck[2346].
Other bucks have ramp delay enabled always.
However the bit shift for enabling buck6 ramp delay in register is equal
to 0. When ramp delay was set for the bucks unsupporting enable/disable
(buck[15789] and buck10), the ramp delay for buck6 was also enabled.
Fixes: b96244fad953 ("regulator: s2mps11: 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>
Diffstat (limited to 'drivers/regulator/palmas-regulator.c')
0 files changed, 0 insertions, 0 deletions