Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b100713 authored by Jack Pham's avatar Jack Pham
Browse files

usb: pd: Use new power_supply PD_IN_HARD_RESET property



Set the POWER_SUPPLY_PROP_PD_IN_HARD_RESET when hard reset
has been issued and clear it when completed. This replaces
the previous use of PD_ACTIVE which is now used to indicate
assertively whether the port partner is PD capable or not.
As such, since charger driver now definitively knows, it is
also not necessary to explicitly change PROP_TYPE to USB_PD.

Change-Id: I4d8c9fcdf553d1cf1ae79c66932773834804d1a9
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 9ed824e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment