[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdY6dXr2J2FP8yiK-RN4G2DE6-mTRAU4oj_fxo+x3mGYQA@mail.gmail.com>
Date: Wed, 10 Jun 2020 11:18:19 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Navid Emamdoost <navid.emamdoost@...il.com>
Cc: Bartosz Golaszewski <bgolaszewski@...libre.com>,
patches@...nsource.cirrus.com,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Navid Emamdoost <emamd001@....edu>, wu000273@....edu,
Kangjie Lu <kjlu@....edu>, smccaman@....edu
Subject: Re: [PATCH] gpio: arizona: handle pm_runtime_get_sync failure case
On Fri, Jun 5, 2020 at 4:52 AM Navid Emamdoost
<navid.emamdoost@...il.com> 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@...il.com>
Patch applied for fixes.
Yours,
Linus Walleij
Powered by blists - more mailing lists