Message ID | 20190810150458.817-1-linus.walleij@linaro.org (mailing list archive) |
---|---|
State | Mainlined |
Commit | 777758888ffe59ef754cc39ab2f275dc277732f4 |
Headers | show |
Series | usb: host: fotg2: restart hcd after port reset | expand |
diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c index 35f69bce40d9..8ee28f5b7957 100644 --- a/drivers/usb/host/fotg210-hcd.c +++ b/drivers/usb/host/fotg210-hcd.c @@ -1633,6 +1633,10 @@ static int fotg210_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, /* see what we found out */ temp = check_reset_complete(fotg210, wIndex, status_reg, fotg210_readl(fotg210, status_reg)); + + /* restart schedule */ + fotg210->command |= CMD_RUN; + fotg210_writel(fotg210, fotg210->command, &fotg210->regs->command); } if (!(temp & (PORT_RESUME|PORT_RESET))) {