summaryrefslogtreecommitdiffstats
path: root/drivers/char/cyclades.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-05-23 22:57:56 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-24 05:14:13 +0200
commit3fcbc72965f767bb5c4518aef754c28f45fc6147 (patch)
treee9abf7fc4fc4ef440268294e75c60c1d636f8100 /drivers/char/cyclades.c
parentSLUB Debug: fix check for super sized slabs (>512k 64bit, >256k 32bit) (diff)
downloadlinux-3fcbc72965f767bb5c4518aef754c28f45fc6147.tar.xz
linux-3fcbc72965f767bb5c4518aef754c28f45fc6147.zip
Char: cyclades, fix deadlock
An omitted unlock. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/cyclades.c')
-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 c72ee97d3892..ca376b92162c 100644
--- a/drivers/char/cyclades.c
+++ b/drivers/char/cyclades.c
@@ -1061,6 +1061,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)) {