commit | b58e6ceef96f2fbcb1698b0a7c7df59fdea0aa32 | [log] [tgz] |
---|---|---|
author | Mian Yousaf Kaukab <yousaf.kaukab@intel.com> | Mon Jun 29 11:05:28 2015 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Mon Jul 06 12:34:08 2015 -0500 |
tree | ee2e0256ca9d9a743e2b22bcf1d108ad98f6e594 | |
parent | be9d39881fc4fa39a64b6eed6bab5d9ee5125344 [diff] |
usb: dwc2: host: allocate qh before atomic enqueue To avoid sleep while atomic bugs, allocate qh before calling dwc2_hcd_urb_enqueue. qh pointer can be used directly now instead of passing ep->hcpriv as double pointer. Acked-by: John Youn <johnyoun@synopsys.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>