commit | eea1238867205b9e48a67c1a63219529a73c46fd | [log] [tgz] |
---|---|---|
author | Navid Emamdoost <navid.emamdoost@gmail.com> | Thu Jun 04 22:06:43 2020 -0500 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jun 04 21:14:50 2020 -0600 |
tree | 910173c7c1fad903159241f9bae822a22a712930 | |
parent | 6929f71e46bdddbf1c4d67c2728648176c67c555 [diff] |
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: Navid Emamdoost <navid.emamdoost@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>