diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-05-23 20:57:56 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-24 03:14:13 (GMT) |
commit | 3fcbc72965f767bb5c4518aef754c28f45fc6147 (patch) | |
tree | e9abf7fc4fc4ef440268294e75c60c1d636f8100 /drivers/char | |
parent | 33e9e24101abac2bf3535d0d013d6d27d19197cb (diff) | |
download | linux-fsl-qoriq-3fcbc72965f767bb5c4518aef754c28f45fc6147.tar.xz |
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')
-rw-r--r-- | drivers/char/cyclades.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c index c72ee97..ca376b9 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)) { |