Hi!
Here it is. I did not yet try how good it works with critical suspend
(it works okay with normal suspend) -- but that's bug in apm, anyway,
and it will probably be fixed. Please apply.
Pavel
--- clean/drivers/usb/uhci.c Thu Apr 27 10:05:49 2000
+++ linux/drivers/usb/uhci.c Fri May 5 12:21:58 2000
@@ -2357,10 +2357,14 @@
static int handle_pm_event(struct pm_dev *dev, pm_request_t rqst, void *data)
{
+ struct uhci *uhci = dev->data;
switch (rqst) {
case PM_SUSPEND:
+ reset_hc(uhci);
break;
case PM_RESUME:
+ reset_hc(uhci);
+ start_hc(uhci);
break;
}
return 0;
--
I'm [EMAIL PROTECTED] "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents me at [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]