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

Commit cec5e210 authored by Kyle Piefer's avatar Kyle Piefer
Browse files

msm: kgsl: Use the proper device when freeing IRQs



If probe fails, the GMU driver tries to free any
allocated IRQs. This will cause a warning because
the GMU device is being used to free the HFI IRQ.

CRs-Fixed: 2017390
Change-Id: I3b1ed4519330a399a9aef0d87581a7714fbd562f
Signed-off-by: default avatarKyle Piefer <kpiefer@codeaurora.org>
parent d6686534
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1438,7 +1438,7 @@ void gmu_remove(struct kgsl_device *device)

	if (hfi->hfi_interrupt_num) {
		devm_free_irq(&gmu->pdev->dev,
				hfi->hfi_interrupt_num, gmu);
				hfi->hfi_interrupt_num, hfi);
		hfi->hfi_interrupt_num = 0;
	}