Re: 2.4.11 uhci problem ( and maybe more ) ...

From: Johannes Erdfelt (johannes@erdfelt.com)
Date: Wed Oct 10 2001 - 13:32:44 EST


On Wed, Oct 10, 2001, Davide Libenzi <davidel@xmailserver.org> wrote:
> Kernel 2.4.11 - gcc 3.0.1
> I've got raced timeouts from uhci and a couple of complete kernel freeze.
> No usb devices attached to my usb bus.
> 2.4.x , x <= 10 are fine

This patch will fix the problem.

JE

diff --minimal -Nru a/drivers/usb/uhci.c b/drivers/usb/uhci.c
--- a/drivers/usb/uhci.c Wed Oct 10 07:32:38 2001
+++ b/drivers/usb/uhci.c Wed Oct 10 07:32:38 2001
@@ -1594,9 +1594,7 @@
         }
 
         uhci_unlink_generic(uhci, urb);
- uhci_destroy_urb_priv(urb);
-
- usb_dec_dev_use(urb->dev);
+ uhci_call_completion(urb);
 
         return ret;
 }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:33 EST