aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2023-09-29 11:31:33 +0200
committerHans Verkuil <[email protected]>2023-10-11 15:26:16 +0200
commit1d4c25854aac872e6d3d1dad5dc5eb580d18ac6c (patch)
tree947e080dfbf0ecd039125d1e8a15a253f7bbde71 /tools/testing/selftests/net/lib
parent30c1886ab53e89be5a0aa16df47b367957fc4bc2 (diff)
media: ipu-bridge: Add missing acpi_dev_put() in ipu_bridge_get_ivsc_acpi_dev()
In ipu_bridge_get_ivsc_acpi_dev(), the "ivsc_adev" acpi_device pointer from the outer loop is handed over to the caller, which takes proper care of its reference count. However, the "consumer" acpi_device pointer from the inner loop is lost, without decrementing its reference count. Fix this by adding the missing call to acpi_dev_put(). Fixes: c66821f381ae ("media: pci: intel: Add IVSC support for IPU bridge driver") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib')
0 files changed, 0 insertions, 0 deletions