reg5V: Manage battery source based on charger status

This commit is contained in:
CTCaer
2021-01-11 21:30:59 +02:00
parent 74b91b0085
commit c6c396ce2a
7 changed files with 33 additions and 14 deletions

View File

@@ -429,7 +429,7 @@ void hw_reinit_workaround(bool coreboot, u32 magic)
touch_power_off();
set_fan_duty(0);
jc_deinit();
regulator_disable_5v(REGULATOR_5V_ALL);
regulator_5v_disable(REGULATOR_5V_ALL);
clock_disable_uart(UART_B);
clock_disable_uart(UART_C);
#endif