scsi: hisi_sas: no delay after issue phy reset if sas_smp_phy_control() fail
driver inclusion category: bugfix bugzilla: NA CVE: NA At expander ENV, we delay after issue phy reset to wait for hardware to handle phy reset. But if sas_smp_phy_control() fail, delay is unnecessary because we will continue controller reset. So we do not delay if sas_smp_phy_control() return error. Feature or Bugfix: Bugfix Signed-off-by: NJiaxing Luo <luojiaxing@huawei.com> Signed-off-by: NJohn Garry <john.garry@huawei.com> Signed-off-by: Nluojiaxing <luojiaxing@huawei.com> Reviewed-by: Nchenxiang <chenxiang66@hisilicon.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录