Merge "msm: kgsl: Fix resume fail issue"

This commit is contained in:
qctecmdr 2021-04-19 01:39:22 -07:00 • committed by Gerrit - the friendly Code Review server
commit 1858b2d26e

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;