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:
> >>
> >
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)
> +
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
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 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
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