summaryrefslogtreecommitdiff
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2020-06-04 22:06:43 -0500
committerJens Axboe <axboe@kernel.dk>2020-06-04 21:14:50 -0600
commiteea1238867205b9e48a67c1a63219529a73c46fd (patch)
tree910173c7c1fad903159241f9bae822a22a712930 /drivers/ata/ahci.c
parent6929f71e46bdddbf1c4d67c2728648176c67c555 (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>
Diffstat (limited to 'drivers/ata/ahci.c')
0 files changed, 0 insertions, 0 deletions