Jack Pham <jackp@xxxxxxxxxxxxxx> writes: > On DWC_usb3 revisions 3.00a and newer (including DWC_usb31 and > DWC_usb32) the GUCTL1 register gained the DEV_DECOUPLE_L1L2_EVT > field (bit 31) which when enabled allows the controller in device > mode to treat USB 2.0 L1 LPM & L2 events separately. > > After commit d1d90dd27254 ("usb: dwc3: gadget: Enable suspend > events") the controller will now receive events (and therefore > interrupts) for every state change when entering/exiting either > L1 or L2 states. Since L1 is handled entirely by the hardware > and requires no software intervention, there is no need to even > enable these events and unnecessarily notify the gadget driver. > Enable the aforementioned bit to help reduce the overall interrupt > count for these L1 events that don't need to be handled while > retaining the events for full L2 suspend/wakeup. > > Signed-off-by: Jack Pham <jackp@xxxxxxxxxxxxxx> Looks okay to me: Acked-by: Felipe Balbi <balbi@xxxxxxxxxx> -- balbi