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

Commit 7afa9610 authored by Liu Jianhua's avatar Liu Jianhua Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Fix resume fail issue



Replace the pm flag of rgmu
GMU_PRIV_PM_SUSPEND with RGMU_PRIV_PM_SUSPEND.

Change-Id: Ibf47e815dd4f45e31c0e31dabb8dde25979d79a6
Signed-off-by: default avatarLiu Jianhua <jianhl@codeaurora.org>
parent e4d3a647
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1181,7 +1181,7 @@ static void a6xx_rgmu_pm_resume(struct adreno_device *adreno_dev)
	struct kgsl_device *device = KGSL_DEVICE(adreno_dev);
	struct a6xx_rgmu_device *rgmu = to_a6xx_rgmu(adreno_dev);

	if (WARN(!test_bit(GMU_PRIV_PM_SUSPEND, &rgmu->flags),
	if (WARN(!test_bit(RGMU_PRIV_PM_SUSPEND, &rgmu->flags),
		"resume invoked without a suspend\n"))
		return;