Re: [RFC PATCH] PM: Introduce generic DVFS framework with device-specific OPPs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 26, 2011 at 05:43:21PM +0900, MyungJoo Ham wrote:

> +static int __init dvfs_init(void)
> +{
> +	platform_driver_register(&dvfs_pm_drv);
> +	platform_device_register(&dvfs_pm_dev);
> +
> +	INIT_DELAYED_WORK_DEFERRABLE(&dvfs_work, dvfs_monitor);
> +	schedule_delayed_work(&dvfs_work, msecs_to_jiffies(DVFS_INTERVAL));

This will unconditionally start the timer which polls the devices at
whatever rate.  I'd expect to start and stop the poll depending on if we
have devices and/or governor type code (which I don't see anything for
here, though it's hard to know what criteria a generic governor would
use) which require it.
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux