Re: [PATCH] wlcore: mesh: handle failure case of pm_runtime_get_sync

From: Tony Lindgren
Date: Fri Jun 05 2020 - 12:49:43 EST


* Navid Emamdoost <navid.emamdoost@xxxxxxxxx> [200605 03:28]:
> 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.

Looks like we have a similar patch already in Linux next,
care to check?

Regards,

Tony