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

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

Merge "scsi: ufs: Fix back to back clk gate work"

parents cfe1377f f3352034
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2271,6 +2271,8 @@ static void ufshcd_gate_work(struct work_struct *work)
	unsigned long flags;

	spin_lock_irqsave(hba->host->host_lock, flags);
	if (hba->clk_gating.state == CLKS_OFF)
		goto rel_lock;
	/*
	 * In case you are here to cancel this work the gating state
	 * would be marked as REQ_CLKS_ON. In this case save time by