diff options
author | Xiang Chen | 2017-10-24 17:51:36 +0200 |
---|---|---|
committer | Martin K. Petersen | 2017-10-25 14:21:04 +0200 |
commit | 1eb8eeac17ee808b50b422f5ef2e27f5497f82ad (patch) | |
tree | 97191c50613b345e622e42aaf8629f9f58247fe7 /drivers/scsi/hisi_sas/hisi_sas_main.c | |
parent | scsi: hisi_sas: fix SATA breakpoint memory size (diff) | |
download | kernel-qcow2-linux-1eb8eeac17ee808b50b422f5ef2e27f5497f82ad.tar.gz kernel-qcow2-linux-1eb8eeac17ee808b50b422f5ef2e27f5497f82ad.tar.xz kernel-qcow2-linux-1eb8eeac17ee808b50b422f5ef2e27f5497f82ad.zip |
scsi: hisi_sas: us start_phy in PHY_FUNC_LINK_RESET
When a PHY_FUNC_LINK_RESET is issued, we need to fill the transport
identify_frame to SAS controller before the PHYs are enabled.
Without this, we may find that if a PHY which belonged to a wideport
before the reset may generate a new port id.
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/hisi_sas/hisi_sas_main.c')
-rw-r--r-- | drivers/scsi/hisi_sas/hisi_sas_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/scsi/hisi_sas/hisi_sas_main.c index f49a131c04e4..88d90dc14adf 100644 --- a/drivers/scsi/hisi_sas/hisi_sas_main.c +++ b/drivers/scsi/hisi_sas/hisi_sas_main.c @@ -765,7 +765,7 @@ static int hisi_sas_control_phy(struct asd_sas_phy *sas_phy, enum phy_func func, case PHY_FUNC_LINK_RESET: hisi_hba->hw->phy_disable(hisi_hba, phy_no); msleep(100); - hisi_hba->hw->phy_enable(hisi_hba, phy_no); + hisi_hba->hw->phy_start(hisi_hba, phy_no); break; case PHY_FUNC_DISABLE: |