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

Commit 2006a25a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Correctly unregister OPP notifier" into msm-4.14

parents 16556792 7cb9ab18
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1126,7 +1126,7 @@ void kgsl_pwrscale_close(struct kgsl_device *device)
	kgsl_midframe = NULL;
	device->pwrscale.devfreqptr = NULL;
	srcu_cleanup_notifier_head(&device->pwrscale.nh);
	dev_pm_opp_register_notifier(&device->pdev->dev, &pwr->nb);
	dev_pm_opp_unregister_notifier(&device->pdev->dev, &pwr->nb);
	for (i = 0; i < KGSL_PWREVENT_MAX; i++)
		kfree(pwrscale->history[i].events);
}