linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Regression in 3735ba8db8e6ea22ad3ff524328926d8d780a884 with Freescale P1020
@ 2013-04-17 10:08 Michael Braun
  2013-04-17 10:53 ` Liu Shengzhou-B36685
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Braun @ 2013-04-17 10:08 UTC (permalink / raw)
  To: Shengzhou Liu
  Cc: Alan Stern, projekt-wlan, Greg Kroah-Hartman, linux-usb, linux-kernel

Hi,

I'm running OpenWRT Kernel 3.8.3 (which already has f66dea709cd9309b2ee9f715697818001fb518de and 5ed338778f917a035f0f0a52327fc4f72e36f7a1 applied) on a P1020WLAN (QorlQ, PPC) device.
Before updating the kernel from 3.3.0, USB host support was working fine. Now I get "fsl-ehci: USB PHY clock invalid" messages in dmesg and the lsusb output is empty, so USB host support is not working. When I apply the following patch, USB host support starts working again, so I guess 3735ba8db8e6ea22ad3ff524328926d8d780a884 is the cause.
Do you have an idea how to fix it more appropriately?

Thanks,
  M. Braun

--- a/drivers/usb/host/ehci-fsl.c       2013-04-15 21:13:52.924403077 +0200
+++ b/drivers/usb/host/ehci-fsl.c       2013-04-15 21:13:57.572410838 +0200
@@ -273,7 +273,6 @@ static int ehci_fsl_setup_phy(struct usb
                 if (!spin_event_timeout(in_be32(non_ehci + FSL_SOC_USB_CTRL) &
                                 PHY_CLK_VALID, FSL_USB_PHY_CLK_TIMEOUT, 0)) {
                         printk(KERN_WARNING "fsl-ehci: USB PHY clock invalid\n");
-                       return -EINVAL;
                 }
         }


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Regression in 3735ba8db8e6ea22ad3ff524328926d8d780a884 with Freescale P1020
@ 2013-04-15 20:16 Michael Braun
  2013-04-16 15:35 ` Alan Stern
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Braun @ 2013-04-15 20:16 UTC (permalink / raw)
  To: Alan Stern; +Cc: Greg Kroah-Hartman, linux-usb, linux-kernel, projekt-wlan

Hi,

I'm running OpenWRT Kernel 3.8.3 (which already has 
f66dea709cd9309b2ee9f715697818001fb518de and 
5ed338778f917a035f0f0a52327fc4f72e36f7a1 applied) on a P1020WLAN (QorlQ, 
PPC) device.
Before updating the kernel from 3.3.0, USB host support was working 
fine. Now I get "fsl-ehci: USB PHY clock invalid" messages in dmesg and 
the lsusb output is empty, so USB host support is not working. When I 
apply the following patch, USB host support starts working again, so I 
guess 3735ba8db8e6ea22ad3ff524328926d8d780a884 is the cause.

Regards,
  M. Braun

--- a/drivers/usb/host/ehci-fsl.c       2013-04-15 21:13:52.924403077 
+0200
+++ b/drivers/usb/host/ehci-fsl.c       2013-04-15 21:13:57.572410838 
+0200
@@ -273,7 +273,6 @@ static int ehci_fsl_setup_phy(struct usb
                 if (!spin_event_timeout(in_be32(non_ehci + 
FSL_SOC_USB_CTRL) &
                                 PHY_CLK_VALID, FSL_USB_PHY_CLK_TIMEOUT, 
0)) {
                         printk(KERN_WARNING "fsl-ehci: USB PHY clock 
invalid\n");
-                       return -EINVAL;
                 }
         }



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-05-20  4:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-17 10:08 Regression in 3735ba8db8e6ea22ad3ff524328926d8d780a884 with Freescale P1020 Michael Braun
2013-04-17 10:53 ` Liu Shengzhou-B36685
2013-04-18 15:13   ` [Projekt-wlan] " michael-dev
2013-05-19 15:22     ` Michael Braun
2013-05-20  3:37       ` Liu Shengzhou-B36685
2013-05-20  4:43         ` Mehresh Ramneek-B31383
  -- strict thread matches above, loose matches on Subject: below --
2013-04-15 20:16 Michael Braun
2013-04-16 15:35 ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).