commit | 0006ce29e87ba357f64ee73e92c8aefc270fd315 | [log] [tgz] |
---|---|---|
author | Xiaofei Tan <tanxiaofei@huawei.com> | Wed Mar 07 20:25:08 2018 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Mar 12 21:55:24 2018 -0400 |
tree | a377470b9ede467d27170b39b7f868d774873e7b | |
parent | eba8c20c7178af9673ad842b0f68251c891c8546 [diff] |
scsi: hisi_sas: fix the issue of setting linkrate register It is not right to set the register PROG_PHY_LINK_RATE while PHY is still enabled. So if we want to change PHY linkrate, we need to disable PHY before setting the register PROG_PHY_LINK_RATE, and then start-up PHY. This patch is to fix this issue. Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>