HDD16X0/HDD63X0: Enable power status of charging from USB.

Change-Id: I7b1e5e87921ae0770f7783680c3dbcdbf6f257f3
This commit is contained in:
Szymon Dziok 2016-10-02 23:30:30 +02:00
parent e3deec949d
commit a0b79ce7fa

View file

@ -89,10 +89,8 @@ unsigned int power_input_status(void)
if (GPIOE_INPUT_VAL & 0x20) if (GPIOE_INPUT_VAL & 0x20)
status |= POWER_INPUT_MAIN_CHARGER; status |= POWER_INPUT_MAIN_CHARGER;
/* Do nothing with USB for now
if (GPIOE_INPUT_VAL & 0x4) if (GPIOE_INPUT_VAL & 0x4)
status |= POWER_INPUT_USB_CHARGER; status |= POWER_INPUT_USB_CHARGER;
*/
return status; return status;
} }