Commit 7c91752f authored by Bart Van Assche's avatar Bart Van Assche Committed by Treehugger Robot
Browse files

FROMLIST: scsi: ufs: 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: default avatarDaniel Mentz <danielmentz@google.com>
Closes: https://b.corp.google.com/issues/310401362


Fixes: 1d337ec2 ("ufs: improve init sequence")
Change-Id: I1c056c2e42889301f69107468f2b3eb38bf3d734
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Bug: 310401362
Link: https://lore.kernel.org/linux-scsi/20231218225229.2542156-3-bvanassche@acm.org/


Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 28154afe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment