summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-05-23 13:57:56 -0700
committerWilly Tarreau <w@1wt.eu>2007-08-15 10:02:22 +0200
commited5582cc968044612c7ff79bb22cd2a20cd2bc8f (patch)
treedcf46efff605f1956cc8eaf6358de57f38d1f029 /drivers
parentce9eb635d4de5404582046329bc7e74c2a0546ae (diff)
[PATCH] Char: cyclades, fix deadlock
An omitted unlock. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/cyclades.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c
index 3ffa0807754c..e4e0ccb46673 100644
--- a/drivers/char/cyclades.c
+++ b/drivers/char/cyclades.c
@@ -1102,6 +1102,7 @@ static void cyy_intr_chip(struct cyclades_card *cinfo, int chip,
if (data & info->ignore_status_mask) {
info->icount.rx++;
+ spin_unlock(&cinfo->card_lock);
return;
}
if (tty_buffer_request_room(tty, 1)) {