From 5ba471944abc63e837a29c905ac46ae362d5f6a5 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 5 Jan 2015 16:41:49 +0100 Subject: sunxi: axp221: Fix using the wrong register address for ALDO2 This fixes us never programming ALDO2, and programming the ALDO2 voltage into ALDo1. Reported-by: Siarhei Siamashka Signed-off-by: Hans de Goede --- include/axp221.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/axp221.h') diff --git a/include/axp221.h b/include/axp221.h index e3b4409a95f..26d25ff52e8 100644 --- a/include/axp221.h +++ b/include/axp221.h @@ -32,7 +32,7 @@ #define AXP221_DCDC4_CTRL 0x24 #define AXP221_DCDC5_CTRL 0x25 #define AXP221_ALDO1_CTRL 0x28 -#define AXP221_ALDO2_CTRL 0x28 +#define AXP221_ALDO2_CTRL 0x29 #define AXP221_ALDO3_CTRL 0x2a int axp221_set_dcdc1(unsigned int mvolt); -- cgit v1.2.3