]> www.infradead.org Git - users/dwmw2/linux.git/commit
regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
authorKrzysztof Kozlowski <krzk@kernel.org>
Sat, 9 Feb 2019 17:14:14 +0000 (18:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 19:09:57 +0000 (20:09 +0100)
commit462aee48a8a20c80ff42cad95f6bf6c4436ec085
tree2d9138fb613142d92f68ea09bdb5fa89c6a265a4
parent15ead7e2a11e0f86aa3692ec4801e8f69ef64e46
regulator: s2mps11: Fix steps for buck7, buck8 and LDO35

commit 56b5d4ea778c1b0989c5cdb5406d4a488144c416 upstream.

LDO35 uses 25 mV step, not 50 mV.  Bucks 7 and 8 use 12.5 mV step
instead of 6.25 mV.  Wrong step caused over-voltage (LDO35) or
under-voltage (buck7 and 8) if regulators were used (e.g. on Exynos5420
Arndale Octa board).

Cc: <stable@vger.kernel.org>
Fixes: cb74685ecb39 ("regulator: s2mps11: Add samsung s2mps11 regulator driver")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/regulator/s2mps11.c