]> 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)
commitcf073a601df066c8cbb45a5f138f47642abbe232
treeeb11ae66fcc871a33eeb3ed29b310ebcb803cebf
parent48fdd7874f07dfb3a661edca7ea1d4807bb4ccb0
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