diff options
| author | Andy Shevchenko <[email protected]> | 2023-01-02 22:29:32 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-17 17:21:44 +0100 |
| commit | c3194949ae8fcbe2b7e38670e7c6a5cfd2605edc (patch) | |
| tree | cef880f86e9c7c3986f53d2439f06546389698be /tools/perf/scripts/python/syscall-counts.py | |
| parent | ccb0beb43a57ee8dbc35a3314c4bf1db922c054f (diff) | |
usb: typec: intel_pmc_mux: Don't leak the ACPI device reference count
When acpi_dev_get_memory_resources() fails, the reference count is
left bumped. Drop it as it's done in the other error paths.
Fixes: 43d596e32276 ("usb: typec: intel_pmc_mux: Check the port status before connect")
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Heikki Krogerus <[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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions