mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Merge "usb: pd: Reset pd protocol during cable disconnect"
This commit is contained in:
commit
f51f324009
1 changed files with 1 additions and 0 deletions
|
|
@ -3509,6 +3509,7 @@ static void handle_disconnect(struct usbpd *pd)
|
|||
pd->forced_pr = QTI_POWER_SUPPLY_TYPEC_PR_NONE;
|
||||
|
||||
pd->current_state = PE_UNKNOWN;
|
||||
pd_reset_protocol(pd);
|
||||
|
||||
kobject_uevent(&pd->dev.kobj, KOBJ_CHANGE);
|
||||
typec_unregister_partner(pd->partner);
|
||||
|
|
|
|||
Loading…
Reference in a new issue