Skip to content
Commit ca162ce9 authored by Navid Emamdoost's avatar Navid Emamdoost Committed by Thierry Reding
Browse files

pwm: img: Call pm_runtime_put() in pm_runtime_get_sync() failed case



Even in failed case of pm_runtime_get_sync(), the usage_count is
incremented. In order to keep the usage_count with correct value call
appropriate pm_runtime_put().

Signed-off-by: default avatarNavid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 1d7796bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment