linux/drivers/staging/dgrp
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
..
dgrp_common.c userns: Fix build of drivers/staging/dgrp 2012-10-03 09:52:08 -07:00
dgrp_common.h staging: dgrp: remove rawreadok module option 2012-10-25 11:22:42 -07:00
dgrp_dpa_ops.c
dgrp_driver.c staging: dgrp: remove rawreadok module option 2012-10-25 11:22:42 -07:00
dgrp_mon_ops.c staging: serial: dgrp: Add missing #include <linux/uaccess.h> 2012-10-05 09:26:02 -07:00
dgrp_net_ops.c staging: dgrp: remove use of real_raw and read_cnt in dgrp_input 2012-10-25 11:22:42 -07:00
dgrp_ports_ops.c
dgrp_specproc.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
dgrp_sysfs.c staging: dgrp: remove rawreadok module option 2012-10-25 11:22:42 -07:00
dgrp_tty.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
digirp.h
drp.h
Kconfig
Makefile
README
TODO

The user space code to work with this driver is located at
https://github.com/wfp5p/dgrp-utils