mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
regulator: axp20x: Fix GPIO LDO enable value for AXP22x
commit3cb99e2ea9upstream. 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:1b82b4e4f9("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7ca59689c9
commit
40ab2d7d44
@@ -27,8 +27,8 @@
|
||||
#define AXP20X_IO_ENABLED 0x03
|
||||
#define AXP20X_IO_DISABLED 0x07
|
||||
|
||||
#define AXP22X_IO_ENABLED 0x04
|
||||
#define AXP22X_IO_DISABLED 0x03
|
||||
#define AXP22X_IO_ENABLED 0x03
|
||||
#define AXP22X_IO_DISABLED 0x04
|
||||
|
||||
#define AXP20X_WORKMODE_DCDC2_MASK BIT(2)
|
||||
#define AXP20X_WORKMODE_DCDC3_MASK BIT(1)
|
||||
|
||||
Reference in New Issue
Block a user