diff options
author | Markus Schneider-Pargmann <[email protected]> | 2024-08-07 16:12:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-08-14 08:22:49 +0200 |
commit | 35e648a16018b747897be2ccc3ce95ff23237bb5 (patch) | |
tree | 0cc90eb600b008d8c5e2a6e9cf9e6cb95e42e654 /drivers/fpga/fpga-bridge.c | |
parent | 704c2c361e1f405dcf676217498a7c24b64190cb (diff) |
serial: 8250: omap: Cleanup on error in request_irq
If devm_request_irq fails, the code does not cleanup many things that
were setup before. Instead of directly returning ret we should jump to
err.
Fixes: fef4f600319e ("serial: 8250: omap: Fix life cycle issues for interrupt handlers")
Signed-off-by: Markus Schneider-Pargmann <[email protected]>
Reviewed-by: Kevin Hilman <[email protected]>
Tested-by: Kevin Hilman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions