scsi: pm80xx: Set stopped phy's linkrate to Disabled
authorChangyuan Lyu <changyuanl@google.com>
Fri, 8 Jul 2022 20:50:26 +0000 (13:50 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 14 Jul 2022 03:27:59 +0000 (23:27 -0400)
commit355bf2e036c954317ddc4a9618b4f7e38ea5a970
tree45c73d073dba950dd08eaed5ab79a89817a65121
parente78276cadb669d3e55cffe66bd166ff3c8572e38
scsi: pm80xx: Set stopped phy's linkrate to Disabled

Negotiated link rate needs to be updated to 'Disabled' when phy is stopped.

Link: https://lore.kernel.org/r/20220708205026.969161-1-changyuanl@google.com
Reviewed-by: Igor Pylypiv <ipylypiv@google.com>
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pm8001/pm80xx_hwi.c