forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/scsi/hisi_sas/hisi_sas_main.c
....@@ -1408,7 +1408,7 @@
14081408 device->linkrate = phy->sas_phy.linkrate;
14091409
14101410 hisi_hba->hw->setup_itct(hisi_hba, sas_dev);
1411
- } else
1411
+ } else if (!port->port_attached)
14121412 port->id = 0xff;
14131413 }
14141414 }