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

Commit 83db7b27 authored by Harshdeep Dhatt's avatar Harshdeep Dhatt
Browse files

msm: kgsl: Correctly mask out the OOB bits



The result of GENMASK needs to be inverted so that the
handler doesn't report OOB bits as unknown bits.

Change-Id: I3e39334a6dd79343109591b043c9aa30a8bdff9d
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent 640c8e1b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -296,7 +296,7 @@ static irqreturn_t a6xx_hwsched_hfi_handler(int irq, void *data)
	}

	/* Ignore OOB bits */
	status &= GENMASK(31, 31 - (oob_max - 1));
	status &= GENMASK(31 - (oob_max - 1), 0);

	if (status & ~hfi->irq_mask)
		dev_err_ratelimited(&gmu->pdev->dev,