diff options
author | Mian Yousaf Kaukab <yousaf.kaukab@intel.com> | 2015-06-29 11:05:29 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-07-06 12:34:08 -0500 |
commit | b5a468a6aa1ca9176594cd603760d80fa1e8b15e (patch) | |
tree | 03a774f4c1c5935c4e2665b6310f9f16204ecbba /tools | |
parent | b58e6ceef96f2fbcb1698b0a7c7df59fdea0aa32 (diff) |
usb: dwc2: host: allocate qtd before atomic enqueue
To avoid sleep while atomic bugs, allocate qtd before calling
dwc2_hcd_urb_enqueue. No need to pass mem_flags to
dwc2_hcd_urb_enqueue any more as no memory allocations are done in it.
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions