RE: [PATCH 1/3] usb: dwc2: host: allocate qh before atomic enqueue

2015-06-11 Thread Kaukab, Yousaf
Yousaf; linux-usb@vger.kernel.org; ba...@ti.com; > >> john.y...@synopsys.com > >> Cc: Herrero, Gregory; he...@sntech.de; Holmberg, Hans > >> Subject: Re: [PATCH 1/3] usb: dwc2: host: allocate qh before atomic > >> enqueue > >> > >> On 6/5/2015 7:23 AM, Mian

Re: [PATCH 1/3] usb: dwc2: host: allocate qh before atomic enqueue

2015-06-10 Thread John Youn
c: Herrero, Gregory; he...@sntech.de; Holmberg, Hans >> Subject: Re: [PATCH 1/3] usb: dwc2: host: allocate qh before atomic enqueue >> >> On 6/5/2015 7:23 AM, Mian Yousaf Kaukab wrote: >>> To avoid sleep while atomic bugs, allocate qh before calling >>> dwc2_hcd_ur

RE: [PATCH 1/3] usb: dwc2: host: allocate qh before atomic enqueue

2015-06-10 Thread Kaukab, Yousaf
: Re: [PATCH 1/3] usb: dwc2: host: allocate qh before atomic enqueue > > On 6/5/2015 7:23 AM, Mian Yousaf Kaukab wrote: > > 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->

Re: [PATCH 1/3] usb: dwc2: host: allocate qh before atomic enqueue

2015-06-09 Thread John Youn
On 6/5/2015 7:23 AM, Mian Yousaf Kaukab wrote: > 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. > > Signed-off-by: Mian Yousaf Kaukab > --- > drivers/usb/dwc2/hcd.c

[PATCH 1/3] usb: dwc2: host: allocate qh before atomic enqueue

2015-06-05 Thread Mian Yousaf Kaukab
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. Signed-off-by: Mian Yousaf Kaukab --- drivers/usb/dwc2/hcd.c | 31 ++ drivers/usb/dwc2/hcd.h