This is a note to let you know that I've just added the patch titled
USB: EHCI: OMAP: Finish ehci omap phy reset cycle before adding hcd.
to the 3.4-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-ehci-omap-finish-ehci-omap-phy-reset-cycle-before-adding-hcd.patch
and it can be found in the queue-3.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 3aa2ae74ba630ec9b98736d64aea8e4cb490861d Mon Sep 17 00:00:00 2001
From: Russ Dill <[email protected]>
Date: Fri, 4 May 2012 04:24:47 -0700
Subject: USB: EHCI: OMAP: Finish ehci omap phy reset cycle before adding hcd.
From: Russ Dill <[email protected]>
commit 3aa2ae74ba630ec9b98736d64aea8e4cb490861d upstream.
'ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue' (1fcb57d0f) created a
regression
with Beagleboard xM if booting the kernel after running 'usb start' under
u-boot.
Finishing the reset before calling 'usb_add_hcd' fixes the regression. This is
most likely due to
usb_add_hcd calling the driver's reset and init functions which expect the
hardware to be
up and running.
Signed-off-by: Russ Dill <[email protected]>
Acked-by: Felipe Balbi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/usb/host/ehci-omap.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
@@ -242,15 +242,6 @@ static int ehci_hcd_omap_probe(struct pl
ehci_reset(omap_ehci);
- ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
- if (ret) {
- dev_err(dev, "failed to add hcd with err %d\n", ret);
- goto err_add_hcd;
- }
-
- /* root ports should always stay powered */
- ehci_port_power(omap_ehci, 1);
-
if (pdata->phy_reset) {
/* Hold the PHY in RESET for enough time till
* PHY is settled and ready
@@ -264,6 +255,15 @@ static int ehci_hcd_omap_probe(struct pl
gpio_set_value(pdata->reset_gpio_port[1], 1);
}
+ ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
+ if (ret) {
+ dev_err(dev, "failed to add hcd with err %d\n", ret);
+ goto err_add_hcd;
+ }
+
+ /* root ports should always stay powered */
+ ehci_port_power(omap_ehci, 1);
+
return 0;
err_add_hcd:
Patches currently in stable-queue which might be from [email protected] are
queue-3.4/usb-ehci-omap-finish-ehci-omap-phy-reset-cycle-before-adding-hcd.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html