aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-05-22 12:59:29 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-06-15 22:37:08 -0400
commita1e17eb03e69bb61bd1b1a14610436b7b9be12d9 (patch)
tree92451499d763b5e060c2bcb32e0be1d1effec89e /include/linux/libata.h
parentLinux 5.8-rc1 (diff)
downloadlinux-dev-a1e17eb03e69bb61bd1b1a14610436b7b9be12d9.tar.xz
linux-dev-a1e17eb03e69bb61bd1b1a14610436b7b9be12d9.zip
scsi: ufs-bsg: Fix runtime PM imbalance on error
When ufs_bsg_alloc_desc_buffer() returns an error code, a pairing runtime PM usage counter decrement is needed to keep the counter balanced. Link: https://lore.kernel.org/r/20200522045932.31795-1-dinghao.liu@zju.edu.cn Fixes: 74e5e468b664 (scsi: ufs-bsg: Wake the device before sending raw upiu commands) Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions