Messages in this thread | | | Date | Sun, 1 Oct 2023 12:25:58 +0300 | From | Andy Shevchenko <> | Subject | Re: [PATCH] media: ipu-bridge: Add missing acpi_dev_put() in ipu_bridge_get_ivsc_acpi_dev() |
| |
On Fri, Sep 29, 2023 at 11:31:33AM +0200, Geert Uytterhoeven wrote: > 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().
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-- With Best Regards, Andy Shevchenko
| |