]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc2: gadget: Reject LPM token during Control transfers
authorMinas Harutyunyan <Minas.Harutyunyan@synopsys.com>
Thu, 18 Apr 2019 11:40:43 +0000 (15:40 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 3 May 2019 06:13:47 +0000 (09:13 +0300)
commit466375657d6c5987f2f2404c75b7081ede14cff4
tree41a3bb07b2d13e4dccd1c80dc3e76414cdeae4b7
parent7a6127e39a16c97b505f13352238567fdc3f79a2
usb: dwc2: gadget: Reject LPM token during Control transfers

Avoiding switch to L1 state in any stage of control transfers.
Send NYET handshake to LPM token.

Renamed GLPMCFG_LPM_ACCEPT_CTRL_ISOC to GLPMCFG_LPM_REJECT_CTRL_CONTROL
because by setting this bit core reject LPM token.

Signed-off-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c
drivers/usb/dwc2/hw.h