]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: axp20x: Fix enable bit indexes for DCDC4 and DCDC5
authorChen-Yu Tsai <wens@csie.org>
Sat, 26 Sep 2015 13:21:12 +0000 (21:21 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 29 Sep 2015 16:07:27 +0000 (17:07 +0100)
commitb08c2ed716026aaa0d33b82c4da7c79de69b7346
treeeb11ae66fcc871a33eeb3ed29b310ebcb803cebf
parent935a478e4144e0a4f690471a4a1d8ad5718a721b
regulator: axp20x: Fix enable bit indexes for DCDC4 and DCDC5

The enable bit indexes for DCDC4 and DCDC5 regulators are off by 1.

We haven't run into any problems with this since either the regulators
aren't defined in the DT and aren't used, or all the DCDC regulators
have the "always-on" property set, as they are almost always used
for system critical loads.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/regulator/axp20x-regulator.c