]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdcf903dd642fb314e938cf8ce6f8c4020dd52561
tree002b17dc5fe22c4c437f4f79ac8657c343587243
parent79cec352ad6a8c42ed4f24be0baf5644dba18dc3
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