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

Commit 99404446 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" into msm-4.9

parents b2c8aa6b e49c9d82
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6559,8 +6559,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);
	down_write(&hba->lock);
	ret = ufshcd_wait_for_doorbell_clr(hba, U64_MAX);
	if (ret) {