diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-12-19 01:52:15 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-01-04 07:03:05 +0300 |
commit | ee36710912b2075c417100a8acc642c9c6496501 (patch) | |
tree | 1d42ae662b460d308596961f7a1f616a523b394e /drivers/cdrom | |
parent | daf7795406bf307997366f694888bd317ae5b5fa (diff) | |
download | linux-ee36710912b2075c417100a8acc642c9c6496501.tar.xz |
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 <danielmentz@google.com>
Fixes: 1d337ec2f35e ("ufs: improve init sequence")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20231218225229.2542156-3-bvanassche@acm.org
Reviewed-by: Can Guo <quic_cang@quicinc.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions