Commit 2e6f11a
scsi: ufshcd: Fix missing destroy_workqueue()
Add the missing destroy_workqueue() before return from ufshcd_init in the
error handling case as well as in ufshcd_remove.
Link: https://lore.kernel.org/r/20201110074223.41280-1-miaoqinglang@huawei.com
Fixes: 4db7a23 ("scsi: ufs: Fix concurrency of error handler and other error recovery paths")
Suggested-by: Avri Altman <Avri.Altman@wdc.com>
Reviewed-by: Asutosh Das <asutoshd@codeaurora.org>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 0f52fcb commit 2e6f11a
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8928 | 8928 | | |
8929 | 8929 | | |
8930 | 8930 | | |
| 8931 | + | |
8931 | 8932 | | |
8932 | 8933 | | |
8933 | 8934 | | |
| |||
9228 | 9229 | | |
9229 | 9230 | | |
9230 | 9231 | | |
| 9232 | + | |
9231 | 9233 | | |
9232 | 9234 | | |
9233 | 9235 | | |
| |||
0 commit comments