Messages in this thread | | | Date | Mon, 1 Jun 2015 10:49:19 +0900 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH v5 2/3] usb: xhci: implement device_suspend/device_resume entries |
| |
On Sat, May 09, 2015 at 09:15:29AM +0800, Lu Baolu wrote: > This patch implements device_suspend/device_resume entries for xHC driver. > device_suspend will be called when a USB device is about to suspend. It > will issue a stop endpoint command for each endpoint in this device. The > Suspend(SP) bit in the command TRB will set which will give xHC a hint > about the suspend. device_resume will be called when a USB device is just > resumed. It will ring doorbells of all endpoint unconditionally. XHC may > use these suspend/resume hints to optimize its operation. > > Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> > --- > drivers/usb/host/xhci-hub.c | 2 +- > drivers/usb/host/xhci.c | 38 ++++++++++++++++++++++++++++++++++++++ > drivers/usb/host/xhci.h | 9 +++++++++ > 3 files changed, 48 insertions(+), 1 deletion(-)
I want to see these come through Mathias, after he has verified that they work properly. I'll take them that way.
thanks,
greg k-h
| |