Skip to content

Commit c1aa677

Browse files
committed
Merge tag 'usb-ci-v4.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb into usb-linus
Peter writes: Fix for kernel panic during the system reboot for some boards
2 parents b760323 + 991d5ad commit c1aa677

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/usb/chipidea/host.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ static void host_stop(struct ci_hdrc *ci)
188188

189189
if (hcd) {
190190
usb_remove_hcd(hcd);
191+
ci->role = CI_ROLE_END;
192+
synchronize_irq(ci->irq);
191193
usb_put_hcd(hcd);
192194
if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) &&
193195
(ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON))

0 commit comments

Comments
 (0)