scsi: hisi_sas: only reset link for PHY_FUNC_LINK_RESET
authorJohn Garry <john.garry@huawei.com>
Wed, 22 Mar 2017 17:25:23 +0000 (01:25 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Mar 2017 15:12:02 +0000 (11:12 -0400)
commitb4c67a6ca790ca3b8caa1e6582d61ccd5bd174e5
tree878258afb2b923912f80ae67a5930fbdabec8002
parentddabca216c7fb1af8e4edde9fc981992e26e50fc
scsi: hisi_sas: only reset link for PHY_FUNC_LINK_RESET

We currently do a hard reset for a link reset. Change this to do a link
reset only.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c