diff options
author | Dan Carpenter <[email protected]> | 2022-09-22 14:22:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-09-22 15:52:31 +0200 |
commit | 2a735e4b5580a2a6bbd6572109b4c4f163c57462 (patch) | |
tree | b40fe2a4251d2df161df53e7e12093e6f0158498 /scripts/gdb/linux/device.py | |
parent | 63d7f9810a38102cdb8cad214fac98682081e1a7 (diff) |
usb: dwc3: core: fix some leaks in probe
The dwc3_get_properties() function calls:
dwc->usb_psy = power_supply_get_by_name(usb_psy_name);
so there is some additional clean up required on these error paths.
Fixes: 6f0764b5adea ("usb: dwc3: add a power supply for current control")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/YyxFYFnP53j9sCg+@kili
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions