Skip to contentSkip to conversation

usb: dwc2: gadget: Fix Remote Wakeup interrupt bit clearing

DISCUSSION Felipe Balbi 1 participant 1 message Jan 14, 2019 USB

lore
Share & tools
lore
#0 lore raw

Hi,

Quoted 19 lines · Minas Harutyunyan
Quoted 19 lines
Quoted 18 lines
Quoted 6 lines
drivers/usb/dwc2/gadget.c +0 -0
index 68ad75a7460d..55ef3cc2701b 100644

drivers/usb/dwc2/gadget.c static void dwc2_gadget_wkup_alert_handler(struct dwc2_hsotg *hsotg) · line 267

Quoted 8 lines
drivers/usb/dwc2/gadget.c +1 -1
@@ -261,7 +261,7 @@ static void dwc2_gadget_wkup_alert_handler(struct dwc2_hsotg *hsotg)
 
   	if (gintsts2 & GINTSTS2_WKUP_ALERT_INT) {
   		dev_dbg(hsotg->dev, "%s: Wkup_Alert_Int\n", __func__);
-		dwc2_clear_bit(hsotg, GINTSTS2, GINTSTS2_WKUP_ALERT_INT);
+		dwc2_set_bit(hsotg, GINTSTS2, GINTSTS2_WKUP_ALERT_INT);
   		dwc2_set_bit(hsotg, DCTL, DCTL_RMTWKUPSIG);
   	}
   }

Sorry for last minute fix of this stupid bug.
Please get this commit together with "usb: dwc2: gadget: Fix WkupAlert interrupt handler."

Quoted 5 lines
Quoted 2 lines

And where is that?

You mean where is "usb: dwc2: gadget: Fix WkupAlert interrupt handler." commit? If yes, then that commit id is d64bc8ee92856e39b3150d93e244ca8239ae6ada

oh, already upstream. Good. Thanks