Commit ee36710
scsi: ufs: core: Remove the ufshcd_hba_exit() call from ufshcd_async_scan()
Calling ufshcd_hba_exit() from a function that is called asynchronously
from ufshcd_init() is wrong because this triggers multiple race
conditions. Instead of calling ufshcd_hba_exit(), log an error message.
Reported-by: Daniel Mentz <[email protected]>
Fixes: 1d337ec ("ufs: improve init sequence")
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Can Guo <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent daf7795 commit ee36710
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8982 | 8982 | | |
8983 | 8983 | | |
8984 | 8984 | | |
8985 | | - | |
8986 | | - | |
8987 | | - | |
8988 | | - | |
| 8985 | + | |
8989 | 8986 | | |
8990 | | - | |
| 8987 | + | |
8991 | 8988 | | |
8992 | 8989 | | |
8993 | 8990 | | |
| |||
0 commit comments