mirror of https://gitee.com/openkylin/linux.git
55bef83cc6
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. Here it is enough to switch to refcounting in tty_port. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
capi.c | ||
capidrv.c | ||
capidrv.h | ||
capilib.c | ||
capiutil.c | ||
kcapi.c | ||
kcapi.h | ||
kcapi_proc.c |