WSL2-Linux-Kernel/drivers/staging/fwserial
Dinghao Liu f31559af97 staging: fwserial: Fix error handling in fwserial_create
When fw_core_add_address_handler() fails, we need to destroy
the port by tty_port_destroy(). Also we need to unregister
the address handler by fw_core_remove_address_handler() on
failure.

Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Link: https://lore.kernel.org/r/20201221122437.10274-1-dinghao.liu@zju.edu.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-28 15:11:52 +01:00
..
Kconfig staging: fwserial: Fix Kconfig indentation (seven spaces) 2019-11-22 11:32:54 +01:00
Makefile staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
TODO
dma_fifo.c staging: fwserial: remove redundant license text 2018-01-15 16:03:45 +01:00
dma_fifo.h staging: fwserial: remove redundant license text 2018-01-15 16:03:45 +01:00
fwserial.c staging: fwserial: Fix error handling in fwserial_create 2020-12-28 15:11:52 +01:00
fwserial.h