Skip to content

Commit

Permalink
Merge pull request #347 from P33M/rpi-3.6.y
Browse files Browse the repository at this point in the history
dwc_otg: fix potential sleep while atomic during urb enqueue
  • Loading branch information
P33M committed Aug 2, 2013
2 parents 271a91e + c866e40 commit 833f700
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c
Expand Up @@ -781,8 +781,7 @@ static int dwc_otg_urb_enqueue(struct usb_hcd *hcd,
{
retval = dwc_otg_hcd_urb_enqueue(dwc_otg_hcd, dwc_otg_urb,
/*(dwc_otg_qh_t **)*/
ref_ep_hcpriv,
mem_flags == GFP_ATOMIC ? 1 : 0);
ref_ep_hcpriv, 1);
if (0 == retval) {
if (alloc_bandwidth) {
allocate_bus_bandwidth(hcd,
Expand Down

0 comments on commit 833f700

Please sign in to comment.