Re: [PATCH] gpio: rcar: handle pm_runtime_get_sync failure case

2020-06-23 Thread Bartosz Golaszewski
pt., 5 cze 2020 o 04:49 Navid Emamdoost napisaƂ(a): > > 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 > --- > drivers/gpio/gpio-rcar.c | 4 +++- > 1

Re: [PATCH] gpio: rcar: handle pm_runtime_get_sync failure case

2020-06-17 Thread Navid Emamdoost
Hi Geert, On Wed, Jun 17, 2020 at 2:26 AM Geert Uytterhoeven wrote: > > Hi Navid, > > On Fri, Jun 5, 2020 at 4:50 AM Navid Emamdoost > 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

Re: [PATCH] gpio: rcar: handle pm_runtime_get_sync failure case

2020-06-17 Thread Geert Uytterhoeven
Hi Navid, On Fri, Jun 5, 2020 at 4:50 AM Navid Emamdoost 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 Thanks for your patch! > --- a/dri

Re: [PATCH] gpio: rcar: handle pm_runtime_get_sync failure case

2020-06-10 Thread Geert Uytterhoeven
Hi Linus, On Wed, Jun 10, 2020 at 10:52 AM Linus Walleij wrote: > On Fri, Jun 5, 2020 at 4:49 AM Navid Emamdoost > 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. > > > >

Re: [PATCH] gpio: rcar: handle pm_runtime_get_sync failure case

2020-06-10 Thread Linus Walleij
On Fri, Jun 5, 2020 at 4:49 AM Navid Emamdoost 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 > --- > drivers/gpio/gpio-rcar.c | 4 +++- >