ChangeSet 1.1641, 2004/05/14 11:57:21-07:00, david-b@pacbell.net

[PATCH] USB: ohci resume fix

Prakash K. Cheemplavam wrote:
> David Brownell wrote:
>
>>> There appear lines like
>>>
>>> usb usb2: string descriptor 0 read error: -108
>>>
>>> bug or feature? They weren't there with 2.6.6-mm1. I have no usb2.0
>>> stuff to actually test. My usb1 stuff seems to work though.
>>
>> Bug; minor, since the only real symptom seems to be messages like
>> that.  Ignore them for now, I'll make a patch soonish.
>
> Ok, good. Thanks for the explanation of what is going on, though I don't
> can make too much out of it. ;-)

The short version is:  it's missing this patch.


 drivers/usb/host/ohci-hub.c |    1 +
 1 files changed, 1 insertion(+)


diff -Nru a/drivers/usb/host/ohci-hub.c b/drivers/usb/host/ohci-hub.c
--- a/drivers/usb/host/ohci-hub.c	Fri May 14 15:27:09 2004
+++ b/drivers/usb/host/ohci-hub.c	Fri May 14 15:27:09 2004
@@ -385,6 +385,7 @@
 			) {
 		ohci_vdbg (ohci, "autosuspend\n");
 		(void) ohci_hub_suspend (&ohci->hcd);
+		ohci->hcd.state = USB_STATE_RUNNING;
 		up (&hcd->self.root_hub->serialize);
 	}
 #endif
