powerpc/usb: fix bug of CPU hang when missing USB PHY clock
authorShengzhou Liu <[email protected]>
Wed, 22 Aug 2012 10:17:00 +0000 (18:17 +0800)
committerGreg Kroah-Hartman <[email protected]>
Wed, 5 Sep 2012 23:52:08 +0000 (16:52 -0700)
commit3735ba8db8e6ea22ad3ff524328926d8d780a884
tree002b17dc5fe22c4c437f4f79ac8657c343587243
parent67990472c77b06cc591dd59923542f64da91453d
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-fsl.h
include/linux/fsl_devices.h