From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758355AbbFABtn (ORCPT ); Sun, 31 May 2015 21:49:43 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47461 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754106AbbFABtf (ORCPT ); Sun, 31 May 2015 21:49:35 -0400 Date: Mon, 1 Jun 2015 10:49:19 +0900 From: Greg Kroah-Hartman To: Lu Baolu Cc: Mathias Nyman , Alan Stern , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 2/3] usb: xhci: implement device_suspend/device_resume entries Message-ID: <20150601014919.GA23945@kroah.com> References: <1431134130-7922-1-git-send-email-baolu.lu@linux.intel.com> <1431134130-7922-3-git-send-email-baolu.lu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431134130-7922-3-git-send-email-baolu.lu@linux.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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