diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2017-10-24 18:51:46 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-10-31 19:28:00 +0300 |
commit | 13cd5ed612dad10f998e341e0ab1e0019aeb4217 (patch) | |
tree | dbb298c226041f1c5b5e614b1d5a09282f87ec94 /drivers/scsi/hisi_sas/hisi_sas_main.c | |
parent | b4241f0fa3e445ad4e2d06b7370d45195fd7a627 (diff) | |
download | linux-13cd5ed612dad10f998e341e0ab1e0019aeb4217.tar.xz |
scsi: hisi_sas: fix a bug when free device for v3 hw
Use completion to wait on ITCT CLR interrupt finishing before
processing other things when freeing a device.
This is safer than the pre-existing process of polling the register.
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_main.c')
0 files changed, 0 insertions, 0 deletions