Re: [PATCH v2] gpio: rcar: handle pm_runtime_get_sync failure case
From: Bartosz Golaszewski
Date: Mon Jun 22 2020 - 12:54:19 EST
År., 17 cze 2020 o 09:43 Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> napisaÅ(a):
>
> On Wed, Jun 17, 2020 at 9:40 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>
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
>
Is this stable material?
Bart