LKML Archive on
help / color / mirror / Atom feed
From: Alan Cox <>
Subject: [PATCH RESEND] riscom8: Fix hang on load
Date: Mon, 10 Mar 2008 13:24:49 +0000	[thread overview]
Message-ID: <20080310132449.56ef57e9@core> (raw)

This has been around for a while but nobody reported it until recently.
Resubmitting the fix as it's appropriate for 2.6.25

Signed-off-by: Alan Cox <>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/riscom8.c linux-2.6.25-rc2-mm1/drivers/char/riscom8.c
--- linux.vanilla-2.6.25-rc2-mm1/drivers/char/riscom8.c	2008-02-19 11:03:00.000000000 +0000
+++ linux-2.6.25-rc2-mm1/drivers/char/riscom8.c	2008-02-20 22:00:16.000000000 +0000
@@ -1620,14 +1617,8 @@
 static void rc_release_drivers(void)
-	unsigned long flags;
-	spin_lock_irqsave(&riscom_lock, flags);
-	spin_unlock_irqrestore(&riscom_lock, flags);
 #ifndef MODULE

                 reply	other threads:[~2008-03-10 13:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \
    --in-reply-to=20080310132449.56ef57e9@core \ \ \ \
    --subject='Re: [PATCH RESEND] riscom8: Fix hang on load' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).