On Mon, 20 Aug 2012, Kumar Gala wrote:
Subject: Re: [PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB
PHY
clock
On Aug 10, 2012, at 5:48 AM, Shengzhou Liu wrote:
when missing USB PHY clock, kernel booting up will hang during USB
initialization. We should check
...@linuxfoundation.org
Subject: Re: [PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB
PHY
clock
On Aug 10, 2012, at 5:48 AM, 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
On Fri, Aug 10, 2012 at 5:48 AM, Shengzhou Liu
shengzhou@freescale.com wrote:
+ for (timeout = 1000; timeout 0; timeout--) {
+ /* check PHY_CLK_VALID to get phy clk valid */
+ if (in_be32(non_ehci + FSL_SOC_USB_CTRL)
+
-Original Message-
From: Kumar Gala [mailto:ga...@kernel.crashing.org]
Sent: Friday, August 10, 2012 9:50 PM
To: Liu Shengzhou-B36685
Cc: linuxppc-dev@lists.ozlabs.org list; linux-...@vger.kernel.org;
gre...@linuxfoundation.org
Subject: Re: [PATCH 2/2] powerpc/usb: fix bug of CPU
On Aug 10, 2012, at 5:48 AM, 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@freescale.com
---