summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/irq.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-10-04 15:26:36 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-10-04 16:08:50 +0200
commit800b8eecb284eb0f1d213dae5d00b4f372b7353a (patch)
tree389431b90118f2e02c97e485444565b322e4a21e /drivers/acpi/irq.c
parent9388076b4cedf199624173b4fcd3f208c02632d6 (diff)
downloadlinux-800b8eecb284eb0f1d213dae5d00b4f372b7353a.tar.bz2
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: 43cf36974d76 ("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>
Diffstat (limited to 'drivers/acpi/irq.c')
0 files changed, 0 insertions, 0 deletions