[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0C18FE92A7765D4EB9EE5D38D86A563A01BA8636@SHSMSX103.ccr.corp.intel.com>
Date: Tue, 19 Aug 2014 10:08:35 +0000
From: "Du, ChangbinX" <changbinx.du@...el.com>
To: Alan Stern <stern@...land.harvard.edu>
CC: "rjw@...ysocki.net" <rjw@...ysocki.net>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"Nyman, Mathias" <mathias.nyman@...el.com>,
"Brown, Len" <len.brown@...el.com>, "pavel@....cz" <pavel@....cz>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"Wu, Hao" <hao.wu@...el.com>
Subject: RE: [BUG] usb_dev_resume returns -113 due to work items queued by
usb on pm_wq is not executed before suspending.
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists