dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/xtensa
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
..
boot xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
configs xtensa: drop CONFIG_EMBEDDED_RAMDISK 2012-10-03 15:13:09 -07:00
include Merge v3.7-rc5 into tty-next 2012-11-14 12:30:12 -08:00
kernel xtensa: switch to generic sys_execve() 2012-10-25 15:00:44 -07:00
lib xtensa: fix memmove(), bcopy(), and memcpy(). 2012-10-15 21:41:19 -07:00
mm xtensa: fix missing return in do_page_fault for SIGBUS case 2012-10-15 21:42:52 -07:00
platforms TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
variants xtensa: Change mail addresses of Hannes Weiner and Oskar Schirmer 2012-05-17 22:47:41 +02:00
Kconfig xtensa: switch to generic kernel_execve() 2012-10-25 15:00:36 -07:00
Kconfig.debug
Makefile xtensa: Setup CROSS_COMPILE at the top 2012-10-04 12:16:20 -07:00