tty: nozomi, fix tty refcounting bug
authorJiri Slaby <jirislaby@gmail.com>
Thu, 16 Jul 2009 15:06:18 +0000 (16:06 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Jul 2009 16:19:16 +0000 (09:19 -0700)
commit9237a81a1468d0aca1cc4e244bba2362d6f81b35
treea7bb7bf9f834e25fe7b8189eca678c33dfb19130
parent5c9228f0cfb09a098a8a380116b42ae099e967b6
tty: nozomi, fix tty refcounting bug

Don't forget to drop a tty refererence on fail paths in
receive_data().

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/nozomi.c