From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:41385 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752039AbbEBN3o (ORCPT ); Sat, 2 May 2015 09:29:44 -0400 Subject: Patch "usb: dwc2: hcd: use new USB_RESUME_TIMEOUT" has been added to the 3.14-stable tree To: balbi@ti.com, gregkh@linuxfoundation.org Cc: , From: Date: Sat, 02 May 2015 15:29:22 +0200 Message-ID: <1430573362206189@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled usb: dwc2: hcd: use new USB_RESUME_TIMEOUT to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: usb-dwc2-hcd-use-new-usb_resume_timeout.patch and it can be found in the queue-3.14 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 74bd7b69801819707713b88e9d0bc074efa2f5e7 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Fri, 13 Feb 2015 15:03:13 -0600 Subject: usb: dwc2: hcd: use new USB_RESUME_TIMEOUT From: Felipe Balbi commit 74bd7b69801819707713b88e9d0bc074efa2f5e7 upstream. Make sure we're using the new macro, so our resume signaling will always pass certification. Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- drivers/usb/dwc2/hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/dwc2/hcd.c +++ b/drivers/usb/dwc2/hcd.c @@ -1501,7 +1501,7 @@ static int dwc2_hcd_hub_control(struct d dev_dbg(hsotg->dev, "ClearPortFeature USB_PORT_FEAT_SUSPEND\n"); writel(0, hsotg->regs + PCGCTL); - usleep_range(20000, 40000); + msleep(USB_RESUME_TIMEOUT); hprt0 = dwc2_read_hprt0(hsotg); hprt0 |= HPRT0_RES; Patches currently in stable-queue which might be from balbi@ti.com are queue-3.14/usb-host-xhci-use-new-usb_resume_timeout.patch queue-3.14/usb-dwc2-hcd-use-new-usb_resume_timeout.patch queue-3.14/usb-host-sl811-use-new-usb_resume_timeout.patch queue-3.14/usb-define-a-generic-usb_resume_timeout-macro.patch queue-3.14/usb-host-isp116x-use-new-usb_resume_timeout.patch queue-3.14/usb-gadget-composite-enable-besl-support.patch queue-3.14/usb-host-r8a66597-use-new-usb_resume_timeout.patch queue-3.14/usb-core-hub-use-new-usb_resume_timeout.patch queue-3.14/usb-host-fusbh200-use-new-usb_resume_timeout.patch queue-3.14/usb-host-uhci-use-new-usb_resume_timeout.patch queue-3.14/usb-host-fotg210-use-new-usb_resume_timeout.patch queue-3.14/usb-phy-find-the-right-match-in-devm_usb_phy_match.patch