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: Liu Jianhua <jianhl@codeaurora.org>
This commit is contained in:
Liu Jianhua 2021-04-06 17:48:09 +05:30 • committed by Gerrit - the friendly Code Review server
commit 7afa961010

View file

@ -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;