Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Mon, 22 Jun 2020 21:00:17 +0200 | Subject | Re: [PATCH v2] gpio: rcar: handle pm_runtime_get_sync failure case |
| |
Hi Bartosz,
On Mon, Jun 22, 2020 at 6:54 PM Bartosz Golaszewski <bgolaszewski@baylibre.com> wrote: > śr., 17 cze 2020 o 09:43 Geert Uytterhoeven <geert@linux-m68k.org> napisał(a): > > On Wed, Jun 17, 2020 at 9:40 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> > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > Is this stable material?
No, it cannot happen anyway.
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
| |