[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbwwZm+FF1cOxJ0xuKi=BmmV49Xno2y6A2QqMCctin=ag@mail.gmail.com>
Date: Mon, 25 May 2020 13:31:02 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Dinghao Liu <dinghao.liu@....edu.cn>
Cc: Kangjie Lu <kjlu@....edu>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpio: rcar: Fix runtime PM imbalance on error
On Fri, May 22, 2020 at 10:08 AM Dinghao Liu <dinghao.liu@....edu.cn> 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@....edu.cn>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists