Skip to contentSkip to conversation

Patch "usb: host: r8a66597: use new USB_RESUME_TIMEOUT" has been added to the 3.14-stable tree

PATCH [email protected] 1 participant 1 message May 2, 2015

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

usb: host: r8a66597: 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-host-r8a66597-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 <[email protected]> know about it.

Quoted 1 line

From 7a606ac29752a3e571b83f9b3fceb1eaa1d37781 Mon Sep 17 00:00:00 2001

From: Felipe Balbi <[email protected]>
Date: Fri, 13 Feb 2015 14:58:53 -0600
Subject: usb: host: r8a66597: use new USB_RESUME_TIMEOUT

From: Felipe Balbi <[email protected]>

commit 7a606ac29752a3e571b83f9b3fceb1eaa1d37781 upstream.

While this driver was already using a 50ms resume
timeout, let's make sure everybody uses the same
macro so it's easy to fix later should anything
go wrong.

It also gives a more "stable" expectation to Linux users.

---
 drivers/usb/host/r8a66597-hcd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/r8a66597-hcd.c +1 -1
@@ -2300,7 +2300,7 @@ static int r8a66597_bus_resume(struct us
 		rh->port &= ~USB_PORT_STAT_SUSPEND;
 		rh->port |= USB_PORT_STAT_C_SUSPEND << 16;
 		r8a66597_mdfy(r8a66597, RESUME, RESUME | UACT, dvstctr_reg);
-		msleep(50);
+		msleep(USB_RESUME_TIMEOUT);
 		r8a66597_mdfy(r8a66597, UACT, RESUME | UACT, dvstctr_reg);
 	}
 

Patches currently in stable-queue which might be from [email protected] 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