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

Liu Shengzhou-B36685 B36685 at freescale.com
Mon Aug 13 13:01:14 EST 2012



> -----Original Message-----
> From: Kumar Gala [mailto:galak at kernel.crashing.org]
> Sent: Friday, August 10, 2012 9:50 PM
> To: Liu Shengzhou-B36685
> Cc: linuxppc-dev at lists.ozlabs.org list; linux-usb at vger.kernel.org;
> gregkh at 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
> > hanging in this case.
> >
> > Signed-off-by: Shengzhou Liu <Shengzhou.Liu at freescale.com>
> > ---
> > drivers/usb/host/ehci-fsl.c |   63 ++++++++++++++++++++++++++++++-----------
> -
> > drivers/usb/host/ehci-fsl.h |    1 +
> > 2 files changed, 46 insertions(+), 18 deletions(-)
> 
> I assume this should be considered a bug fix and be looked at for inclusion in
> v3.6?
> 
> - k
[Shengzhou] Yes. 



More information about the Linuxppc-dev mailing list