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

From
Linus Walleij <hidden>
Date
2020-06-10 09:18:35
Also in
lkml
Reply to
Navid Emamdoost, 2020-06-05
On Fri, Jun 5, 2020 at 4:52 AM Navid Emamdoost
[off-list ref] 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>
Patch applied for fixes.

Yours,
Linus Walleij
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