]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
regulator: axp20x: Fix GPIO LDO enable value for AXP22x
authorChen-Yu Tsai <wens@csie.org>
Tue, 22 Dec 2015 09:08:06 +0000 (17:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:17 +0000 (15:07 -0800)
commit40ab2d7d44aff753b6c43f016b6fdb166fe8e4ff
treefe3ee1575b0e00429ddf0528c64a69b657b664c0
parent7ca59689c947bda700e07fdea4d9e4f582601c68
regulator: axp20x: Fix GPIO LDO enable value for AXP22x

commit 3cb99e2ea99a454c8837a55aac88753ef05fc1eb upstream.

The enable/disable values for GPIO LDOs are reversed. It seems no one
noticed as AXP22x support was introduced recently, and no one was using
the GPIO LDOs, either because no designs actually use them or board
support hasn't caught up.

Fixes: 1b82b4e4f954 ("regulator: axp20x: Add support for AXP22X regulators")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/regulator/axp20x-regulator.c