Re: [PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-08-21 Thread Alan Stern
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: > >> > >

Re: [PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-08-20 Thread Tabi Timur-B04825
On Fri, Aug 10, 2012 at 5:48 AM, Shengzhou Liu 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) > +

Re: [PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-08-20 Thread Kumar Gala
t; linux-...@vger.kernel.org; >> gre...@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 US

RE: [PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-08-12 Thread Liu Shengzhou-B36685
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

Re: [PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-08-10 Thread Kumar Gala
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 > --- > drivers/usb/host/ehci-fsl.c | 63

[PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-08-10 Thread Shengzhou Liu
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 --- drivers/usb/host/ehci-fsl.c | 63 ++ drivers/usb/host/ehci-fsl