Messages in this thread | | | From | Linus Walleij <> | Date | Wed, 10 Jun 2020 11:18:19 +0200 | 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@gmail.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@gmail.com>
Patch applied for fixes.
Yours, Linus Walleij
| |