powerpc/usb: fix bug of CPU hang when missing USB PHY clock
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Wed, 22 Aug 2012 10:17:00 +0000 (18:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 23:52:08 +0000 (16:52 -0700)
commit3b3ff8bc53d423354ce0d3e9c5690287319fa647
tree002b17dc5fe22c4c437f4f79ac8657c343587243
parentb94081799280302630a8ee97df370131d730db3f
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>
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-fsl.h
include/linux/fsl_devices.h