On 5/24/20 04:59, Dinghao Liu wrote:
pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code. Thus a pairing decrement is needed on
the error handling path to keep the counter balanced. For all error
paths after pm_runtime_get_sync(), things are the same.

Signed-off-by: Dinghao Liu <[email protected]>

Reviewed-by: Sylwester Nawrocki <[email protected]>

Reply via email to