commit | 13cd5ed612dad10f998e341e0ab1e0019aeb4217 | [log] [tgz] |
---|---|---|
author | Xiang Chen <chenxiang66@hisilicon.com> | Tue Oct 24 23:51:46 2017 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Oct 31 12:28:00 2017 -0400 |
tree | dbb298c226041f1c5b5e614b1d5a09282f87ec94 | |
parent | b4241f0fa3e445ad4e2d06b7370d45195fd7a627 [diff] |
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>