Skip to content

Commit aef47a0

Browse files
committed
Revert "usb: typec: tipd: Do not request duplicate role switches"
This reverts commit 2ad915e.
1 parent 07ad580 commit aef47a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/usb/typec/tipd/core.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,7 @@ static void cd321x_update_work(struct work_struct *work)
841841
cd321x_typec_update_mode(tps, &st);
842842

843843
/* Launch the USB role switch */
844-
if ((new_role != old_role) || was_disconnected)
845-
usb_role_switch_set_role(tps->role_sw, new_role);
844+
usb_role_switch_set_role(tps->role_sw, new_role);
846845

847846
power_supply_changed(tps->psy);
848847
}

0 commit comments

Comments
 (0)