riscom8: Fix hang on load
PATCH RESEND 1/1 riscom8: Fix hang on load
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 <[email protected]>
drivers/char/riscom8.c +0 -6
@@ -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