scsi: hisi_sas: Undo RPM resume for failed notify phy event for v3 HW
authorXiang Chen <chenxiang66@hisilicon.com>
Fri, 6 May 2022 12:25:39 +0000 (20:25 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 May 2022 01:47:55 +0000 (21:47 -0400)
commit9b5387fe5af38116b452259d87cd66594b6277c1
tree03eab2abb39845839be626f2b04d1054e0fc3241
parentf304d35e59958ea4be399f78e5be08d4a0c4db75
scsi: hisi_sas: Undo RPM resume for failed notify phy event for v3 HW

If we fail to notify the phy up event then undo the RPM resume, as the phy
up notify event handling pairs with that RPM resume.

Link: https://lore.kernel.org/r/1651839939-101188-1-git-send-email-john.garry@huawei.com
Reported-by: Yihang Li <liyihang6@hisilicon.com>
Tested-by: Yihang Li <liyihang6@hisilicon.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c