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

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

Merge "scsi: ufs: fix a race condition between err handler and clock gate work"

parents bfb29b6b b713a755
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5248,6 +5248,7 @@ static int ufshcd_link_recovery(struct ufs_hba *hba)
	 */
	hba->ufshcd_state = UFSHCD_STATE_ERROR;
	hba->force_host_reset = true;
	ufshcd_set_eh_in_progress(hba);
	schedule_work(&hba->eh_work);

	/* wait for the reset work to finish */