public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Erdfelt <johannes@erdfelt.com>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: 2.4.11 uhci problem ( and maybe more ) ...
Date: Wed, 10 Oct 2001 14:32:44 -0400	[thread overview]
Message-ID: <20011010143244.C19707@sventech.com> (raw)
In-Reply-To: <Pine.LNX.4.40.0110101041150.984-100000@blue1.dev.mcafeelabs.com>
In-Reply-To: <Pine.LNX.4.40.0110101041150.984-100000@blue1.dev.mcafeelabs.com>; from davidel@xmailserver.org on Wed, Oct 10, 2001 at 10:54:12AM -0700

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;
 }

      reply	other threads:[~2001-10-10 18:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-10 17:54 2.4.11 uhci problem ( and maybe more ) Davide Libenzi
2001-10-10 18:32 ` Johannes Erdfelt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011010143244.C19707@sventech.com \
    --to=johannes@erdfelt.com \
    --cc=davidel@xmailserver.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox