powerpc/usb: fix bug of kernel hang when initializing usb
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Thu, 16 Feb 2012 10:02:20 +0000 (18:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Feb 2012 21:37:45 +0000 (13:37 -0800)
commit28c56ea1431421dec51b7b229369e991481453df
tree1344d743b6afe3b375f6305a1c7ab339d4d57cf4
parente90fc3cb087ce5c5f81e814358222cd6d197b5db
powerpc/usb: fix bug of kernel hang when initializing usb

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-fsl.h