RE: [BUG] usb_dev_resume returns -113 due to work items queued by usb on pm_wq is not executed before suspending.
From: Du, ChangbinX
Date: Tue Aug 19 2014 - 06:08:48 EST
> Commit d6236f6d1d88 prevents the roothub resuming work item from being
> queued.
>
> > 4) We force system suspending process aborted (by modifying code) just
> after the usb
> > Device suspend callback is invoked.
> > 5) Then PM core will call resume callback of the usb device to recovery. On
> this step
> > usb_dev_resume() invokes and it return -113 error. Because the
> can_submit flag of
> > root hub is 0. Root hub resuming work item is still pending.
>
> I still think that commit has already fixed your problem.
>
> Alan Stern
Yes, thanks. Issue didn't reproduce after applying that patch.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/