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

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

Merge "scsi: ufs: fix race a condition between rls handler and err handler"

parents 02fc8188 80b5a98c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2177,6 +2177,7 @@ int ufshcd_hold(struct ufs_hba *hba, bool async)
			spin_unlock_irqrestore(hba->host->host_lock, flags);
			flush_work(&hba->clk_gating.ungate_work);
			spin_lock_irqsave(hba->host->host_lock, flags);
			if (hba->ufshcd_state == UFSHCD_STATE_OPERATIONAL)
				goto start;
		}
		break;