Explorar o código

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 <siarhei.siamashka@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede %!s(int64=10) %!d(string=hai) anos
pai
achega
5ba471944a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/axp221.h

+ 1 - 1
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);