]> git.karo-electronics.de Git - karo-tx-linux.git/commit
TTY: hvsi, sanitize uses of tty
authorJiri Slaby <jslaby@suse.cz>
Mon, 2 Apr 2012 11:54:29 +0000 (13:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 18:28:26 +0000 (11:28 -0700)
commit28c0447d743ba94562f981bf09dda61bc4cc6f3b
tree20d435d4fa19a2f154f4ccf813eb18037a8b7e31
parentd73a4e790d05151dadf8c6de84382411a8f073fd
TTY: hvsi, sanitize uses of tty

- use tty, not hp->tty wherever possible
- pass tty down to some functions and go to step one
- do not defer tty_hangup calls -- it is as simple as schedule_work,
  so might be called with hp->lock held
- do not defer tty buffer flips -- since the driver does not use
  low_latency (it cannot actually), the flip is a simple tail move
  plus schedule_work. It will make our life easier in the next patch.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvsi.c