diff options
author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2020-06-05 06:06:43 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-05 06:14:50 +0300 |
commit | eea1238867205b9e48a67c1a63219529a73c46fd (patch) | |
tree | 910173c7c1fad903159241f9bae822a22a712930 /drivers/ata/ahci_imx.c | |
parent | 6929f71e46bdddbf1c4d67c2728648176c67c555 (diff) | |
download | linux-eea1238867205b9e48a67c1a63219529a73c46fd.tar.xz |
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_imx.c')
0 files changed, 0 insertions, 0 deletions