Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13f67f99 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: fix async UIC command timeout due to UFS card removal"

parents bfca1a91 ffe417e9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -8959,6 +8959,9 @@ static void ufshcd_remove_device(struct ufs_hba *hba)
		scsi_remove_device(sdev_cache[i]);

	spin_lock_irqsave(hba->host->host_lock, flags);
	/* Complete the flying async UIC command if there is one */
	if (hba->uic_async_done)
		complete(hba->uic_async_done);
	hba->silence_err_logs = false;
	spin_unlock_irqrestore(hba->host->host_lock, flags);