drivers/tty/amiserial.c: add missing tty_unlock
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 19 Apr 2012 16:12:40 +0000 (18:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Apr 2012 02:15:35 +0000 (19:15 -0700)
commitd3a7b83f865b46bb7b5e1ed18a129ce1af349db4
tree92f4c1c7ca160b2788a27ae10e1b6c5fdfa64efc
parentaf6d17cdc8c89aeb3101f0d27cd32fc0592b40b2
drivers/tty/amiserial.c: add missing tty_unlock

tty_unlock is used on all other exits from the function.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/amiserial.c