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)
committerMark Brown <broonie@kernel.org>
Mon, 11 Feb 2019 16:59:29 +0000 (16:59 +0000)
commit56b5d4ea778c1b0989c5cdb5406d4a488144c416
tree5069c62cf1b512b920c38d115bf255fd411b6ed1
parent82874ba4c6455ca8a90a8fe59834baa4cd4a1e50
regulator: s2mps11: Fix steps for buck7, buck8 and LDO35

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>
drivers/regulator/s2mps11.c