Thread (11 messages) flat view 11 messages, 6 authors, 2012-02-18

Re: [PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

From: Sergei Shtylyov <hidden>
Date: 2012-02-18 15:40:28

Hello.

On 16-02-2012 14:02, Shengzhou Liu wrote:
If USB UTMI PHY is not enable, writing to portsc register will lead to
kernel hang during boot up.
Signed-off-by: Shengzhou Liu<redacted>
[...]
quoted hunk ↗ jump to hunk
diff --git a/drivers/usb/host/ehci-fsl.h b/drivers/usb/host/ehci-fsl.h
index bdf43e2..0e400c2 100644
--- a/drivers/usb/host/ehci-fsl.h
+++ b/drivers/usb/host/ehci-fsl.h
@@ -45,6 +45,7 @@
  #define FSL_SOC_USB_PRICTRL	0x40c	/* NOTE: big-endian */
  #define FSL_SOC_USB_SICTRL	0x410	/* NOTE: big-endian */
  #define FSL_SOC_USB_CTRL	0x500	/* NOTE: big-endian */
+#define CTRL_UTMI_PHY_EN	(1<<9)
    Please put spaces around << like below.
  #define CTRL_PHY_CLK_VALID	(1<<  17)
  #define SNOOP_SIZE_2GB		0x1e
  #endif				/* _EHCI_FSL_H */
WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help