Re: [PATCH] gpio: rcar: Fix runtime PM imbalance on error

From: Linus Walleij
Date: Mon May 25 2020 - 07:31:18 EST


On Fri, May 22, 2020 at 10:08 AM Dinghao Liu <dinghao.liu@xxxxxxxxxx> wrote:

> pm_runtime_get_sync() increments the runtime PM usage counter even
> when it returns an error code. Thus a pairing decrement is needed on
> the error handling path to keep the counter balanced.
>
> Signed-off-by: Dinghao Liu <dinghao.liu@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij