linux-stable/drivers/scsi/ufs
Dinghao Liu a1e17eb03e 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: 74e5e468b6 (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>
2020-06-15 22:37:08 -04:00
..
cdns-pltfrm.c scsi: ufs: introduce common function to disable host TX LCC 2020-02-12 19:27:16 -05:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile scsi: ufs: Add driver for TI wrapper for Cadence UFS IP 2019-11-12 22:21:33 -05:00
tc-dwc-g210-pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tc-dwc-g210-pltfrm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tc-dwc-g210.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tc-dwc-g210.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ti-j721e-ufs.c scsi: ufs: ti-j721e-ufs: Fix unwinding of pm_runtime changes 2020-05-26 21:33:54 -04:00
ufs-hisi.c scsi: ufs: introduce common function to disable host TX LCC 2020-02-12 19:27:16 -05:00
ufs-hisi.h
ufs-mediatek.c scsi: ufs-mediatek: Customize WriteBooster flush policy 2020-05-14 21:02:22 -04:00
ufs-mediatek.h scsi: ufs-mediatek: customize the delay for enabling host 2020-03-26 22:07:16 -04:00
ufs-qcom.c scsi: ufs-qcom: Fix scheduling while atomic issue 2020-05-26 20:05:02 -04:00
ufs-qcom.h scsi: ufs-qcom: Add reset control support for host controller 2019-11-18 23:15:50 -05:00
ufs-sysfs.c scsi: ufs: Fix index of attributes query for WriteBooster feature 2020-05-26 21:14:07 -04:00
ufs-sysfs.h scsi: ufs: sysfs: Use the correct style for SPDX License Identifier 2020-01-02 21:57:44 -05:00
ufs.h scsi: ufs: Fix WriteBooster flush during runtime suspend 2020-05-26 21:14:08 -04:00
ufs_bsg.c scsi: ufs-bsg: Fix runtime PM imbalance on error 2020-06-15 22:37:08 -04:00
ufs_bsg.h
ufs_quirks.h scsi: ufs: Enable WriteBooster on some pre-3.1 UFS devices 2020-05-11 22:48:41 -04:00
ufshcd-dwc.c scsi: ufs: make array setup_attrs static const, makes object smaller 2019-09-30 22:47:21 -04:00
ufshcd-dwc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ufshcd-pci.c scsi: ufs: introduce common function to disable host TX LCC 2020-02-12 19:27:16 -05:00
ufshcd-pltfrm.c scsi: ufs: ufshcd: Remove dev_err() on platform_get_irq() failure 2019-11-12 22:21:34 -05:00
ufshcd-pltfrm.h
ufshcd.c scsi: ufs: Remove redundant urgent_bkop_lvl initialization 2020-06-02 21:44:53 -04:00
ufshcd.h scsi: ufs: Fix WriteBooster flush during runtime suspend 2020-05-26 21:14:08 -04:00
ufshci-dwc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ufshci.h scsi: ufs: Fix irq return code 2019-11-19 21:37:09 -05:00
unipro.h scsi: ufs: Select INITIAL ADAPT type for HS Gear4 2020-02-12 19:34:22 -05:00