diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-05-23 13:57:56 -0700 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2007-08-15 10:02:22 +0200 |
commit | ed5582cc968044612c7ff79bb22cd2a20cd2bc8f (patch) | |
tree | dcf46efff605f1956cc8eaf6358de57f38d1f029 /drivers | |
parent | ce9eb635d4de5404582046329bc7e74c2a0546ae (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.c | 1 |
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)) { |