diff options
| author | Gaosheng Cui <[email protected]> | 2022-11-23 09:41:21 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-06 16:36:37 +0100 |
| commit | a8d3392e0e5cfeb03f0cea1f2bc3f5f183c1deb4 (patch) | |
| tree | ec26b00b8138457d33d04668a948ca26773763d1 /tools/perf/scripts/python | |
| parent | 001b0c780eac328bc48b70b8437f202a4ed785e4 (diff) | |
usb: gadget: fusb300_udc: free irq on the error path in fusb300_probe()
When request_irq(ires1->start) failed in w5300_hw_probe(), irq
ires->start has not been freed, and on the clean_up3 error path,
we also need to free ires1->start irq, fix it.
In addition, We should add free_irq in fusb300_remove(), and give
the lables a proper name so that they can be understood easily,
so add free_irq in fusb300_remove(), and update clean_up3 to
err_alloc_request.
Fixes: 0fe6f1d1f612 ("usb: udc: add Faraday fusb300 driver")
Signed-off-by: Gaosheng Cui <[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')
0 files changed, 0 insertions, 0 deletions