Commit ff2f1d6f authored by Bart Van Assche's avatar Bart Van Assche Committed by Carlos Llamas
Browse files

ANDROID: scsi: ufs: Ungate the clock synchronously



Ungating the clock asynchronously causes ufshcd_queuecommand() to
return SCSI_MLQUEUE_HOST_BUSY and hence causes commands to be requeued.
This is suboptimal. Allow ufshcd_queuecommand() to sleep such that
clock ungating does not trigger command requeuing.

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