diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2020-10-02 16:30:38 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-10-07 02:47:06 +0200 |
commit | 69f4ec1edb136d2d2511d1ef96f94ef0aeecefdf (patch) | |
tree | a75178ee2aa62d36196316cf1a370f516e0891fb /drivers/scsi/virtio_scsi.c | |
parent | scsi: hisi_sas: Filter out new PHY up events during suspend (diff) | |
download | linux-69f4ec1edb136d2d2511d1ef96f94ef0aeecefdf.tar.xz linux-69f4ec1edb136d2d2511d1ef96f94ef0aeecefdf.zip |
scsi: hisi_sas: Recover PHY state according to the status before reset
Currently the PHY state is set according to the state of the PHYs after
reset. This is invalid as the PHYs are already re-initialized.
Set PHY state according to the state before the reset instead of after.
Link: https://lore.kernel.org/r/1601649038-25534-8-git-send-email-john.garry@huawei.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>
Diffstat (limited to 'drivers/scsi/virtio_scsi.c')
0 files changed, 0 insertions, 0 deletions