]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: con3215, use tty from tty_port
authorJiri Slaby <jslaby@suse.cz>
Wed, 11 Apr 2012 09:14:59 +0000 (11:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2012 17:56:12 +0000 (10:56 -0700)
commit99452d223da5edb16bcaea2100a697c351d704db
treec2d26c2408db7f2244ffcf0e53b3bc0f0042cece
parent8c377bc8250a4e2e3689668d3a8d2f0dda9eb9d2
TTY: con3215, use tty from tty_port

Obtain tty_struct only once in ISR and pass it down to
raw3215_next_io. Other than that, we just use the tty with raised
reference. And set it properly in open and close.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux390@de.ibm.com
Cc: linux-s390@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/s390/char/con3215.c