Skip to content
Commit eea12388 authored by Navid Emamdoost's avatar Navid Emamdoost Committed by Jens Axboe
Browse files

sata_rcar: handle pm_runtime_get_sync failure cases



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: default avatarNavid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6929f71e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment