diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2019-09-06 15:55:30 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-09-11 05:28:56 +0300 |
commit | 73a4925d154cbd3c73e6643033e7167cb2353d9a (patch) | |
tree | 9cdf2027592d36e12af81724d81902d0c9b09aa7 /drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | |
parent | b45e05aa5d29264e2b7905cba6ff0626beda3637 (diff) | |
download | linux-73a4925d154cbd3c73e6643033e7167cb2353d9a.tar.xz |
scsi: hisi_sas: Update all the registers after suspend and resume
After suspend and resume, the HW registers will be set back to their
initial value. We use init_reg_v3_hw() to set some registers, but some
registers are set via firmware in ACPI "_RST" method, so add reset handler
before init_reg_v3_hw().
Link: https://lore.kernel.org/r/1567774537-20003-7-git-send-email-john.garry@huawei.com
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hisi_sas/hisi_sas_v2_hw.c')
0 files changed, 0 insertions, 0 deletions