Message ID | 1384867060-22714-1-git-send-email-luis.henriques@canonical.com |
---|---|
State | New |
Headers | show |
On 11/19/2013 02:17 PM, Luis Henriques wrote: > This is a note to let you know that I have just added a patch titled > > usb: musb: cancel work on removal > > to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree > which can be found at: There is also http://www.spinics.net/lists/linux-usb/msg96917.html which is not yet merged upstream. Please pick those two together. Sebastian
Hi Sebastian, On Tue, Nov 19, 2013 at 02:21:46PM +0100, Sebastian Andrzej Siewior wrote: > On 11/19/2013 02:17 PM, Luis Henriques wrote: > > This is a note to let you know that I have just added a patch titled > > > > usb: musb: cancel work on removal > > > > to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree > > which can be found at: > > There is also > http://www.spinics.net/lists/linux-usb/msg96917.html > which is not yet merged upstream. Please pick those two together. > > > Sebastian Thank you for bringing this to my attention. I'll drop this patch for now, and re-queue it once the fix is merged upstream. Cheers, -- Luis
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index fde4898..f9da63e 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -1855,6 +1855,7 @@ static void musb_free(struct musb *musb) disable_irq_wake(musb->nIrq); free_irq(musb->nIrq, musb); } + cancel_work_sync(&musb->irq_work); if (is_dma_capable() && musb->dma_controller) { struct dma_controller *c = musb->dma_controller;