diff options
Diffstat (limited to 'common/acpi.c')
-rw-r--r-- | common/acpi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/acpi.c b/common/acpi.c index da6795acd9..1355b6c636 100644 --- a/common/acpi.c +++ b/common/acpi.c @@ -358,7 +358,8 @@ int acpi_ap_to_ec(int is_cmd, uint8_t value, uint8_t *resultptr) if (mode_field & 1) mode = USB_CHARGE_MODE_ENABLED; - if (usb_charge_set_mode(i, mode)) { + if (usb_charge_set_mode(i, mode, + USB_ALLOW_SUSPEND_CHARGE)) { CPRINTS("ERROR: could not set charge " "mode of USB port p%d to %d", i, mode); |