commit | b5d335e5ea6a60f5254c1f3d5fddd47f4531bccf | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Mon Nov 16 16:20:34 2015 -0600 |
committer | Felipe Balbi <balbi@ti.com> | Tue Dec 15 09:12:41 2015 -0600 |
tree | 5ae922db25fb3bd3c5dab47789506aa562c83408 | |
parent | ac7bdcc1b3ad042d21bc65e57503d7b41fc69f05 [diff] |
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>