projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddabca2
)
scsi: hisi_sas: only reset link for PHY_FUNC_LINK_RESET
author
John Garry
<
[email protected]
>
Wed, 22 Mar 2017 17:25:23 +0000
(
01:25
+0800)
committer
Martin K. Petersen
<
[email protected]
>
Thu, 23 Mar 2017 15:12:02 +0000
(11:12 -0400)
We currently do a hard reset for a link reset. Change this to do a link
reset only.
Signed-off-by: John Garry <
[email protected]
>
Signed-off-by: Xiang Chen <
[email protected]
>
Signed-off-by: Martin K. Petersen <
[email protected]
>
drivers/scsi/hisi_sas/hisi_sas_main.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/hisi_sas/hisi_sas_main.c
b/drivers/scsi/hisi_sas/hisi_sas_main.c
index 7c1fb75d11e6b38f9e929bc676095129f99eb689..00068d25ba48450819e94ea28cf6969d1cb41f0b 100644
(file)
--- a/
drivers/scsi/hisi_sas/hisi_sas_main.c
+++ b/
drivers/scsi/hisi_sas/hisi_sas_main.c
@@
-659,8
+659,9
@@
static int hisi_sas_control_phy(struct asd_sas_phy *sas_phy, enum phy_func func,
break;
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_hard_reset(hisi_hba, phy_no);
break;
case PHY_FUNC_DISABLE: