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/drivers/staging/ipack
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
..
bridges staging: ipack: add missing include (implicit declaration of function 'kfree') 2012-10-24 15:12:01 -07:00
devices TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
Kconfig staging: ipack: only build on platforms that provide ioread/iowrite. 2012-09-06 15:31:43 -07:00
Makefile Staging: ipack: add support for IP-OCTAL mezzanine board 2012-05-09 14:16:51 -07:00
TODO Staging: ipack: update TODO file 2012-09-12 09:56:02 -07:00
ipack.c staging: ipack: remove irq field in struct ipack_device. 2012-09-13 20:21:38 -07:00
ipack.h staging: ipack: remove irq field in struct ipack_device. 2012-09-13 20:21:38 -07:00
ipack_ids.h Staging: ipack: Move device ids from ipoctal.c to ipack_ids.h. 2012-09-04 15:13:51 -07:00