Messages in this thread | | | Date | Fri, 5 Jun 2020 10:55:55 +0000 | From | Charles Keepax <> | Subject | Re: [PATCH] gpio: arizona: handle pm_runtime_get_sync failure case |
| |
On Thu, Jun 04, 2020 at 09:52:07PM -0500, 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> > ---
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks, Charles
| |