RE: [PATCH] usb: disable OTG AUTOIDLE only with omap3430

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

 



> ========== patch =========================
> There is an issue with MUSB AUTOIDLE as reported by Niilo Minkkinen in
> below commit.
> 
> 9a4b5e36ce58febdd2039dd4d129ee7edf4f5536
> usb: musb: disable OTG AUTOIDLE only with omap3430
> 
> As OMAP35x is just a variant of OMAP34xx chip thus the fix is also
> applicable for OMAP35x so updating it for OMAP35x.
> 
> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@xxxxxx>
> ---
>  drivers/usb/musb/omap2430.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
> index 453796c..ab8336d 100644
> --- a/drivers/usb/musb/omap2430.c
> +++ b/drivers/usb/musb/omap2430.c
> @@ -233,7 +233,7 @@ int __init musb_platform_init(struct musb *musb)
>  	 * MUSB AUTOIDLE don't work in 3430.
>  	 * Workaround by Richard Woodruff/TI
>  	 */
> -	if (!cpu_is_omap3430())
> +	if (!cpu_is_omap3430() && !cpu_is_omap35xx())

cpu_is_omap35xx() is not yet available so this fix has to wait until this
definition makes its way to l-o or mainline.

-Ajay

>  		l |= AUTOIDLE;		/* enable auto idle */
>  	omap_writel(l, OTG_SYSCONFIG);
> 
> --
> 1.6.2.4
> ==============================================
> 
> >
> > Regards,
> > Richard W.
> >
> > --
> > 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
> 
> --
> 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

--
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