diff options
author | Shengzhou Liu <Shengzhou.Liu@freescale.com> | 2012-08-22 06:17:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-05 19:52:08 -0400 |
commit | 3735ba8db8e6ea22ad3ff524328926d8d780a884 (patch) | |
tree | 002b17dc5fe22c4c437f4f79ac8657c343587243 /drivers/usb/host/ehci-fsl.h | |
parent | 67990472c77b06cc591dd59923542f64da91453d (diff) |
powerpc/usb: fix bug of CPU hang when missing USB PHY clock
when missing USB PHY clock, kernel booting up will hang during USB
initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid
CPU hanging in this case.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-fsl.h')
-rw-r--r-- | drivers/usb/host/ehci-fsl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-fsl.h b/drivers/usb/host/ehci-fsl.h index 88403684d10..dbd292e9f0a 100644 --- a/drivers/usb/host/ehci-fsl.h +++ b/drivers/usb/host/ehci-fsl.h | |||
@@ -61,4 +61,5 @@ | |||
61 | #define PLL_RESET (1<<8) | 61 | #define PLL_RESET (1<<8) |
62 | #define UTMI_PHY_EN (1<<9) | 62 | #define UTMI_PHY_EN (1<<9) |
63 | #define ULPI_PHY_CLK_SEL (1<<10) | 63 | #define ULPI_PHY_CLK_SEL (1<<10) |
64 | #define PHY_CLK_VALID (1<<17) | ||
64 | #endif /* _EHCI_FSL_H */ | 65 | #endif /* _EHCI_FSL_H */ |