Re: [PATCH v2] gpio: rcar: handle pm_runtime_get_sync failure case
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2020-06-17 07:43:26
Also in:
lkml
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2020-06-17 07:43:26
Also in:
lkml
On Wed, Jun 17, 2020 at 9:40 AM Navid Emamdoost [off-list ref] 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 <redacted>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds