On Thu, 19 May 2005, Alan Stern wrote:

> Here's an updated version of your patch.  I won't be able to try it out 
> but it looks okay.

On second thought it doesn't look so good.  It needs this additional patch 
applied on top.

Alan Stern



Index: usb-2.6/drivers/usb/core/hub.c
===================================================================
--- usb-2.6.orig/drivers/usb/core/hub.c
+++ usb-2.6/drivers/usb/core/hub.c
@@ -1972,7 +1972,6 @@ static int hub_resume(struct usb_interfa
        }
        intf->dev.power.power_state = PMSG_ON;
 
-       hub->resume_root_hub = 0;
        hub_activate(hub);
        return 0;
 }
@@ -2645,6 +2644,7 @@ static void hub_events(void)
 
                usb_get_intf(intf);
                i = hub->resume_root_hub;
+               hub->resume_root_hub = 0;
                spin_unlock_irq(&hub_event_lock);
 
                /* Is this is a root hub wanting to be resumed? */



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to