diff options
author | Luo Jiaxing <[email protected]> | 2019-09-06 20:55:27 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2019-09-10 22:28:55 -0400 |
commit | c2bae4f7d721e06e6bb8d1174ec7f8ff7604892c (patch) | |
tree | 3c101e51f43d6fc0373b8f59c27313214b0a91d4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | af01b2b92454c0f9aa71f8f57d8e85dd68b774db (diff) |
scsi: hisi_sas: Directly return when running I_T_nexus reset if phy disabled
At hisi_sas_debug_I_T_nexus_reset(), we call sas_phy_reset() to reset a
phy. But if the phy is disabled, sas_phy_reset() will directly return
-ENODEV without issue a phy reset request.
If so, We can directly return -ENODEV to libsas before issue a phy
reset.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Luo Jiaxing <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions