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

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

msm: kgsl: Do not return error if there is no GMU



If there is no GMU but oob_set is called, return 0
instead of returning error. This simplifies the code.

CRs-Fixed: 2017390
Change-Id: I52bdb82d4cc6972277ddfde061a79262a56e731e
Signed-off-by: default avatarKyle Piefer <kpiefer@codeaurora.org>
parent d56766f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -948,7 +948,7 @@ static int a6xx_oob_set(struct adreno_device *adreno_dev,
	int ret = 0;

	if (!kgsl_gmu_isenabled(device))
		return -ENODEV;
		return 0;

	kgsl_gmu_regwrite(device, A6XX_GMU_HOST2GMU_INTR_SET, set_mask);