OpenCloudOS-Kernel/drivers/usb/dwc2
Mian Yousaf Kaukab b5a468a6aa 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>
2015-07-06 12:34:08 -05:00
..
Kconfig usb: dwc2: remove dwc2_platform.ko 2015-04-29 15:20:11 -05:00
Makefile usb: dwc2: remove dwc2_platform.ko 2015-04-29 15:20:11 -05:00
core.c usb: dwc2: add hibernation core parameter 2015-04-29 15:20:17 -05:00
core.h usb: dwc2: add hibernation core parameter 2015-04-29 15:20:17 -05:00
core_intr.c usb: dwc2: add hibernation core parameter 2015-04-29 15:20:17 -05:00
debug.h usb: dwc2: move debugfs code to a separate file 2015-04-29 15:18:25 -05:00
debugfs.c usb: dwc2: remove dwc2_platform.ko 2015-04-29 15:20:11 -05:00
gadget.c usb: dwc2: remove dwc2_platform.ko 2015-04-29 15:20:11 -05:00
hcd.c usb: dwc2: host: allocate qtd before atomic enqueue 2015-07-06 12:34:08 -05:00
hcd.h usb: dwc2: host: allocate qh before atomic enqueue 2015-07-06 12:34:08 -05:00
hcd_ddma.c Move DWC2 driver out of staging 2014-01-13 14:44:01 -08:00
hcd_intr.c usb: dwc2: host: ensure qtb exists before dereferencing it 2015-04-29 15:20:22 -05:00
hcd_queue.c usb: dwc2: host: allocate qh before atomic enqueue 2015-07-06 12:34:08 -05:00
hw.h usb: dwc2: gadget: replace constants with defines 2015-01-30 10:34:11 -06:00
pci.c usb: dwc2: pci: Add device mode to the dwc2-pci driver 2015-03-11 15:08:17 -05:00
platform.c usb: dwc2: add hibernation core parameter 2015-04-29 15:20:17 -05:00