]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: ep0: fix setup_packet_pending initialization
authorFelipe Balbi <balbi@ti.com>
Mon, 16 Nov 2015 22:20:34 +0000 (16:20 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 15 Dec 2015 15:12:41 +0000 (09:12 -0600)
commit057fbb835c6efef72b67583e947c9b95e1a4753e
tree5ae922db25fb3bd3c5dab47789506aa562c83408
parent9a0384bd35cfe1c98ba9b4a526a2ec1c88af5ba2
usb: dwc3: ep0: fix setup_packet_pending initialization

It just ocurred to me that dwc3 already gives a
really hint of when a setup packet is pending and
that's the SETUP_PENDING TRB Status for EP0 IRQs.

Fix setup_packet_pending initialization based on
that. While at that, also make sure the comment in
gadget.c matches what code is doing.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.c