Re: [PATCH] gpio: arizona: handle pm_runtime_get_sync failure case

From: Linus Walleij
Date: Wed Jun 10 2020 - 05:18:34 EST


On Fri, Jun 5, 2020 at 4:52 AM Navid Emamdoost
<navid.emamdoost@xxxxxxxxx> wrote:

> Calling pm_runtime_get_sync increments the counter even in case of
> failure, causing incorrect ref count. Call pm_runtime_put if
> pm_runtime_get_sync fails.
>
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>

Patch applied for fixes.

Yours,
Linus Walleij