Files
linux/drivers
Andy Shevchenko 800b8eecb2 platform/x86: int3472: Don't leak reference on error
The for_each_acpi_consumer_dev() takes a reference to the iterator
and if we break a loop we must drop that reference. This usually
happens when error handling is involved. However it's not the case
for skl_int3472_fill_clk_pdata().

Don't leak reference on error by dropping it properly.

Fixes: 43cf36974d ("platform/x86: int3472: Support multiple clock consumers")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2022-10-04 16:08:50 +02:00
..
2022-09-27 18:30:48 -04:00
2022-09-30 20:05:16 +02:00
2022-09-30 20:05:16 +02:00
2022-08-09 00:56:41 +02:00
2022-10-03 20:09:22 +02:00
2022-08-27 15:07:58 +02:00