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
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
>
> 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->
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
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