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

From
Charles Keepax <ckeepax@opensource.cirrus.com>
Date
2020-06-05 10:56:08
Also in
lkml
Reply to
Navid Emamdoost, 2020-06-05
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 <redacted>
---
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>

Thanks,
Charles
Thread (3 messages) 3 messages, 3 authors, last reply 2020-06-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help