Messages in this thread | | | Subject | Re: [PATCH] PCI: rcar: handle the failure case of pm_runtime_get_sync | From | Marek Vasut <> | Date | Sat, 6 Jun 2020 14:17:30 +0200 |
| |
On 6/5/20 5:23 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 <navid.emamdoost@gmail.com>
This looks like a V2 of [PATCH] PCI: rcar: fix runtime pm imbalance on error
This looks good to me, but I'm no runtime-pm expert.
| |