commit | e2617796053437df586c53e462076f74bcf268b4 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Tue Nov 29 10:35:47 2011 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Mon Dec 12 11:48:46 2011 +0200 |
tree | 0cf93cc0b643af4313bc84e64bdab7d37836976a | |
parent | e0ce0b0a0ae5a31ee96b38a7c5390f867634b4f6 [diff] |
usb: dwc3: ep0: fix GetStatus handling (again) previous commit fixed part of it but it was still calling usb_ep_queue() from IRQ context without loosing locks. That cannot be done otherwise we will have a recursive locking. Also, we need to assign the 'dep' pointer on dwc->ep0_usb_req otherwise we will have a NULL pointer dereference on dwc3_map_buffer_to_dma(). Signed-off-by: Felipe Balbi <balbi@ti.com>