public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* pending patch
@ 2008-04-25  7:52 Felipe Balbi
  2008-04-25  9:35 ` David Brownell
  0 siblings, 1 reply; 7+ messages in thread
From: Felipe Balbi @ 2008-04-25  7:52 UTC (permalink / raw)
  To: tony, linux-omap; +Cc: david-b

Hi Tony and Dave,

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

Author: Felipe Balbi <felipe.balbi@nokia.com>
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 <felipe.balbi@nokia.com>

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-05-09 21:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-25  7:52 pending patch Felipe Balbi
2008-04-25  9:35 ` David Brownell
2008-04-25 10:18   ` Felipe Balbi
2008-04-25 16:36     ` Tony Lindgren
2008-04-25 18:45       ` Felipe Balbi
2008-05-09  9:19         ` Felipe Balbi
2008-05-09 21:55           ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox