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)
committerMark Brown <broonie@kernel.org>
Wed, 23 Dec 2015 00:05:31 +0000 (00:05 +0000)
commit3cb99e2ea99a454c8837a55aac88753ef05fc1eb
tree96dd372d99526d5706b764a9dacd2ac7adbf3b0d
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
regulator: axp20x: Fix GPIO LDO enable value for AXP22x

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>
Cc: stable@vger.kernel.org
drivers/regulator/axp20x-regulator.c