summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-10-04 14:26:36 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-10-04 16:08:50 +0200
commit800b8eecb284eb0f1d213dae5d00b4f372b7353a (patch)
tree389431b90118f2e02c97e485444565b322e4a21e /drivers/i2c
parentMerge tag 'acpi-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/raf... (diff)
downloadlinux-800b8eecb284eb0f1d213dae5d00b4f372b7353a.tar.xz
linux-800b8eecb284eb0f1d213dae5d00b4f372b7353a.zip
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/i2c')
0 files changed, 0 insertions, 0 deletions