powerpc/usb: fix issue of CPU halt when missing USB PHY clock
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Thu, 2 Feb 2012 03:23:14 +0000 (11:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Feb 2012 20:46:36 +0000 (12:46 -0800)
commit529febeee680dc22416fca033151a5e8bc620447
tree6ea05e6734be0b1699c5e96f6eba1912fd801a94
parented2833ac7ee86ee00f6dd3085a32752209fd8b6e
powerpc/usb: fix issue of CPU halt when missing USB PHY clock

when missing USB PHY clock, kernel booting up will halt during USB
initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid
CPU hang in this case.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-fsl.h