Loading drivers/usb/dwc3/gadget.c +0 −8 Original line number Diff line number Diff line Loading @@ -1518,7 +1518,6 @@ static int dwc3_gadget_wakeup(struct usb_gadget *g) int ret = 0; u8 link_state; u8 speed; spin_lock_irqsave(&dwc->lock, flags); Loading @@ -1530,13 +1529,6 @@ static int dwc3_gadget_wakeup(struct usb_gadget *g) */ reg = dwc3_readl(dwc->regs, DWC3_DSTS); speed = reg & DWC3_DSTS_CONNECTSPD; if (speed == DWC3_DSTS_SUPERSPEED) { dev_dbg(dwc->dev, "no wakeup on SuperSpeed\n"); ret = -EINVAL; goto out; } link_state = DWC3_DSTS_USBLNKST(reg); switch (link_state) { Loading Loading
drivers/usb/dwc3/gadget.c +0 −8 Original line number Diff line number Diff line Loading @@ -1518,7 +1518,6 @@ static int dwc3_gadget_wakeup(struct usb_gadget *g) int ret = 0; u8 link_state; u8 speed; spin_lock_irqsave(&dwc->lock, flags); Loading @@ -1530,13 +1529,6 @@ static int dwc3_gadget_wakeup(struct usb_gadget *g) */ reg = dwc3_readl(dwc->regs, DWC3_DSTS); speed = reg & DWC3_DSTS_CONNECTSPD; if (speed == DWC3_DSTS_SUPERSPEED) { dev_dbg(dwc->dev, "no wakeup on SuperSpeed\n"); ret = -EINVAL; goto out; } link_state = DWC3_DSTS_USBLNKST(reg); switch (link_state) { Loading