From: Mian Yousaf Kaukab Date: Mon, 29 Jun 2015 09:05:28 +0000 (+0200) Subject: usb: dwc2: host: allocate qh before atomic enqueue X-Git-Tag: omap-for-v4.3/fixes-merge-window~230^2~1^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b58e6ceef96f2fbcb1698b0a7c7df59fdea0aa32;p=pandora-kernel.git 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 Tested-by: Heiko Stuebner Tested-by: Doug Anderson Signed-off-by: Mian Yousaf Kaukab Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed