]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: ti-j721e-ufs: Fix unwinding of pm_runtime changes
authorVignesh Raghavendra <vigneshr@ti.com>
Tue, 26 May 2020 10:03:40 +0000 (15:33 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 27 May 2020 01:33:54 +0000 (21:33 -0400)
commit555f42b9d1bf6d95218a1e5f314827cb8c23b702
tree66f8a3ac71ae1015374648bad8de2cb52c99e6cb
parent1636320abdd2cfa5c74abde395a2f35cf29f48db
scsi: ufs: ti-j721e-ufs: Fix unwinding of pm_runtime changes

Fix unwinding of pm_runtime changes when bailing out of driver probe due to
a failure and also on removal of driver.

Link: https://lore.kernel.org/r/20200526100340.15032-1-vigneshr@ti.com
Fixes: acd13135efbe ("scsi: ufs: Add driver for TI wrapper for Cadence UFS IP")
Reported-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ti-j721e-ufs.c