diff options
| author | Dinghao Liu <[email protected]> | 2020-12-21 20:24:35 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-12-28 15:11:52 +0100 |
| commit | f31559af97a0eabd467e4719253675b7dccb8a46 (patch) | |
| tree | aa7a0fb473c4d26e35bc5e18fa05697f680464dc /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | ec36ae7189acd9a24f417e4814e627034da68922 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions