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

Commit 56227e83 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: pd: Reset pd protocol during cable disconnect"

parents 4c028410 78f52382
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2586,6 +2586,7 @@ static void usbpd_sm(struct work_struct *w)
		pd->forced_pr = POWER_SUPPLY_TYPEC_PR_NONE;

		pd->current_state = PE_UNKNOWN;
		pd_reset_protocol(pd);

		kobject_uevent(&pd->dev.kobj, KOBJ_CHANGE);
		dual_role_instance_changed(pd->dual_role);