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

Commit e70aa207 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: Fix race condition in rls_work and ufshcd_resume"

parents 595a0ad6 1fc3a7ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6289,8 +6289,8 @@ static void ufshcd_rls_handler(struct work_struct *work)
	u32 mode;

	hba = container_of(work, struct ufs_hba, rls_work);
	ufshcd_scsi_block_requests(hba);
	pm_runtime_get_sync(hba->dev);
	ufshcd_scsi_block_requests(hba);
	ret = ufshcd_wait_for_doorbell_clr(hba, U64_MAX);
	if (ret) {
		dev_err(hba->dev,