All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND] riscom8: Fix hang on load
@ 2008-03-10 13:24 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2008-03-10 13:24 UTC (permalink / raw)
  To: torvalds, linux-kernel

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 <alan@redhat.com>

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);
-
 	tty_unregister_driver(riscom_driver);
 	put_tty_driver(riscom_driver);
-
-	spin_unlock_irqrestore(&riscom_lock, flags);
 }
 
 #ifndef MODULE

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-10 13:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-10 13:24 [PATCH RESEND] riscom8: Fix hang on load Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.