From: Jiri Slaby Date: Wed, 23 May 2007 20:57:56 +0000 (-0700) Subject: Char: cyclades, fix deadlock X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3fcbc72965f767bb5c4518aef754c28f45fc6147;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Char: cyclades, fix deadlock An omitted unlock. Signed-off-by: Jiri Slaby Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c index c72ee97d389..ca376b92162 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)) {