* Felipe Balbi <[EMAIL PROTECTED]> [080611 14:09]:
> This still needed, otherwise tusb2.0 won't connect after
> a power cycle.

Pushing today.

Tony

> Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>
> ---
>  drivers/usb/musb/musb_core.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
> index 019898a..5b92f21 100644
> --- a/drivers/usb/musb/musb_core.c
> +++ b/drivers/usb/musb/musb_core.c
> @@ -659,7 +659,11 @@ static irqreturn_t musb_stage0_irq(struct musb *musb, u8 
> int_usb,
>                       switch (musb->xceiv.state) {
>  #ifdef CONFIG_USB_OTG
>                       case OTG_STATE_A_SUSPEND:
> -                             musb->ignore_disconnect = 0;
> +                             /* We need to ignore disconnect on suspend
> +                              * otherwise tusb 2.0 won't reconnect after a
> +                              * power cycle, which breaks otg compliance.
> +                              */
> +                             musb->ignore_disconnect = 1;
>                               musb_g_reset(musb);
>                               /* FALLTHROUGH */
>                       case OTG_STATE_A_WAIT_BCON:     /* OPT TD.4.7-900ms */
> -- 
> 1.5.6.rc1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to