Hi, On Tue, Aug 07, 2012 at 10:37:19AM +0800, yuzheng ma wrote: > This path fix musb_start_urb oops > > diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c > index e090c79..63303c7 100644 > --- a/drivers/usb/musb/musb_host.c > +++ b/drivers/usb/musb/musb_host.c > @@ -2045,7 +2045,7 @@ static int musb_urb_enqueue( > * we only have work to do in the former case. > */ > spin_lock_irqsave(&musb->lock, flags); > - if (hep->hcpriv) { > + if (hep->hcpriv || !next_urb(qh)) { > /* some concurrent activity submitted another urb to hep... > * odd, rare, error prone, but legal. > */ patch is in wrong format. Please use git with git format-patch and git send-email. It will generate the patch properly for you. -- balbi
Attachment:
signature.asc
Description: Digital signature