Hi Tony and Dave,

there's this one pending patch [1]. Do you guys have any comments on that
one?

Author: Felipe Balbi <[EMAIL PROTECTED]>
Date:   Thu Apr 17 17:34:20 2008 +0300

    USB: MUSB: Don't ignore disconnect on suspend
    
    As soon as a usb device is disconnect we should
    fall into a_wait_bcon state, ignoring disconnect
    irq will prevent this behaviour.
    
    Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>

diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index c5816a2..019898a 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -659,7 +659,7 @@ 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 = 1;
+                               musb->ignore_disconnect = 0;
                                musb_g_reset(musb);
                                /* FALLTHROUGH */
                        case OTG_STATE_A_WAIT_BCON:     /* OPT TD.4.7-900ms */

[1] http://marc.info/?l=linux-omap&m=120844324526642&w=2
-- 
        - Balbi
--
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