[PATCH v3] powerpc/usb: fix bug of CPU hang when missing USB PHY clock
Greg KH
greg at kroah.com
Sat Sep 22 02:43:42 EST 2012
On Tue, Sep 18, 2012 at 04:52:39PM +0800, Shengzhou Liu wrote:
> 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 at freescale.com>
> ---
> v3 change: no check for UTMI PHY.
> v2 change: use spin_event_timeout() instead.
>
> drivers/usb/host/ehci-fsl.c | 57 +++++++++++++++++++++++++++++-------------
> drivers/usb/host/ehci-fsl.h | 1 +
> include/linux/fsl_devices.h | 1 +
> 3 files changed, 41 insertions(+), 18 deletions(-)
This is already applied, right?
greg k-h
More information about the Linuxppc-dev
mailing list