Re: [PATCH v2] powerpc/usb: fix issue of CPU halt when missing USB PHY clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 02, 2012 at 03:39:48PM +0400, Sergei Shtylyov wrote:
> Hello.
> 
> On 02-02-2012 7:23, Shengzhou Liu wrote:
> 
> >when missing USB PHY clock, kernel booting up will halt during USB
> >initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid
> >CPU hang in this case.
> 
> >Signed-off-by: Shengzhou Liu<Shengzhou.Liu@xxxxxxxxxxxxx>
> [...]
> 
> >diff --git a/drivers/usb/host/ehci-fsl.h b/drivers/usb/host/ehci-fsl.h
> >index 4918062..dd3dc47 100644
> >--- a/drivers/usb/host/ehci-fsl.h
> >+++ b/drivers/usb/host/ehci-fsl.h
> >@@ -45,5 +45,6 @@
> >  #define FSL_SOC_USB_PRICTRL	0x40c	/* NOTE: big-endian */
> >  #define FSL_SOC_USB_SICTRL	0x410	/* NOTE: big-endian */
> >  #define FSL_SOC_USB_CTRL	0x500	/* NOTE: big-endian */
> >+#define CTRL_PHY_CLK_VALID      (1 << 17)
> 
>    Indent the macro value with tabs please.

I fixed this by hand.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux