linux_dsm_epyc7002/drivers/tty/vt
Jiri Slaby 191c5f1027 TTY: call tty_port_destroy in the rest of drivers
After commit "TTY: move tty buffers to tty_port", the tty buffers are
not freed in some drivers. This is because tty_port_destructor is not
called whenever a tty_port is freed. This was an assumption I counted
with but was unfortunately untrue. So fix the drivers to fulfil this
assumption.

To be sure, the TTY buffers (and later some stuff) are gone along with
the tty_port, we have to call tty_port_destroy at tear-down places.
This is mostly where the structure containing a tty_port is freed.
This patch does exactly that -- put tty_port_destroy at those places.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-15 17:20:58 -08:00
..
.gitignore TTY: move .gitignore from drivers/char/ to drivers/tty/vt/ 2010-11-05 22:18:23 -07:00
consolemap.c vt: push the tty_lock down into the map handling 2012-04-24 16:14:14 -07:00
cp437.uni
defkeymap.c_shipped
defkeymap.map
keyboard.c vt: fix the keyboard/led locking 2012-07-17 09:13:37 -07:00
Makefile
selection.c TTY: vt, fix paste_selection ldisc handling 2012-10-22 16:50:53 -07:00
vc_screen.c vt: push down the tty lock so we can see what is left to tackle 2012-03-08 11:10:27 -08:00
vt_ioctl.c vt: fix race in vt_waitactive() 2012-07-26 13:37:02 -07:00
vt.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00