powerpc/usb: fix bug of kernel hang when initializing usb
commitbb94787e6293df177cffec3f83bdb3cb2c93f39e
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Thu, 16 Feb 2012 10:02:20 +0000 (16 18:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 16:26:52 +0000 (2 09:26 -0700)
treeafffeaa584236e613caa95b00e7ba30598b68d3b
parent6f102e3a6e9b4205e2288852854a4f3e98fe6268
powerpc/usb: fix bug of kernel hang when initializing usb

commit 28c56ea1431421dec51b7b229369e991481453df upstream.

If USB UTMI PHY is not enable, writing to portsc register will lead to
kernel hang during boot up.

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