linux_dsm_epyc7002/drivers/tty/hvc
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
..
hvc_beat.c serial: Kill off NO_IRQ 2012-01-26 17:14:50 -08:00
hvc_bfin_jtag.c hvc: add Blackfin JTAG console support 2011-02-17 11:12:40 -08:00
hvc_console.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2012-10-06 03:16:12 +09:00
hvc_console.h TTY: HVC, use count from tty_port 2012-04-09 11:28:18 -07:00
hvc_dcc.c tty: hvc_dcc: Fix duplicate character inputs 2011-11-15 12:02:13 -08:00
hvc_irq.c TTY: irq: Remove IRQF_DISABLED 2011-09-22 16:08:57 -07:00
hvc_iucv.c Fix common misspellings 2011-03-31 11:26:23 -03:00
hvc_opal.c tty/hvc_opal: Fix debug function name 2012-07-10 19:16:25 +10:00
hvc_rtas.c serial: Kill off NO_IRQ 2012-01-26 17:14:50 -08:00
hvc_tile.c tty: move hvc drivers to drivers/tty/hvc/ 2011-01-13 12:03:00 -08:00
hvc_udbg.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2012-03-21 18:55:10 -07:00
hvc_vio.c hvc_vio: Improve registration of udbg backend 2012-09-05 15:19:35 +10:00
hvc_xen.c xen/hvc: handle backend CLOSED without CLOSING 2012-10-04 11:30:29 -04:00
hvcs.c TTY: hvcs: fix missing unlock on error in hvcs_initialize() 2012-10-24 11:37:02 -07:00
hvsi_lib.c tty: move the termios object into the tty 2012-07-16 13:00:41 -07:00
hvsi.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
Kconfig tty/serial: remove CONFIG_EXPERIMENTAL dependencies 2012-09-18 16:19:27 +01:00
Makefile tty: powerpc: remove hvc_iseries 2012-03-09 10:35:17 +11:00