Re: [PATCH v5 2/3] usb: xhci: implement device_suspend/device_resume entries
From: Greg Kroah-Hartman
Date: Sun May 31 2015 - 21:49:45 EST
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@xxxxxxxxxxxxxxx>
> ---
> 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
--
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/