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

Commit f86042c1 authored by DL's avatar DL
Browse files

Change the uevent notification when the CPU cluster comes back online

Change from KOBJ_POLICY_INIT to KOBJ_ONLINE as ueventd ignores the
POLICY_INIT event. This results in the sysfs permissions for the
CPU frequency and governor not being set correctly and breaks the
PowerHAL power management function.

Change-Id: I3bb8805c48ce3c737a9c9b3c818d4869485dc427
parent e8fdc61c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -971,7 +971,7 @@ static int cpufreq_add_dev(struct device *dev, struct subsys_interface *sif)
		goto err_out_unregister;

	kobject_uevent(&policy->kobj, KOBJ_ADD);
	kobject_uevent(&dev->kobj, KOBJ_POLICY_INIT);
	kobject_uevent(&dev->kobj, KOBJ_ONLINE);
	module_put(cpufreq_driver->owner);
	pr_debug("initialization complete\n");