summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c')
-rw-r--r--firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c b/firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c
index f73df98641..ecdf3b1a75 100644
--- a/firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c
+++ b/firmware/target/arm/tms320dm320/sansa-connect/power-sansaconnect.c
@@ -60,6 +60,9 @@ void power_init(void)
/* Set LCM (LDO1) to 2.85V, Set CODEC and USB (LDO2) to 1.8V */
tps65021_write_reg(0x08, 0x36);
+
+ /* Enable internal charger */
+ avr_hid_enable_charger();
}
void power_off(void)