diff options
author | Ketut Putu Kumajaya <ketut.kumajaya@gmail.com> | 2013-10-21 11:44:35 +0700 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-07-02 12:08:53 +0200 |
commit | b9ad019f0d574e03824f909b49d2582e106ae64c (patch) | |
tree | 3f5eb5c61079141486844bcad941739b68a8e457 | |
parent | 2f1f70a294dd196d1d092dbd80d0421bbbd2afaa (diff) | |
download | device_samsung_espressowifi-b9ad019f0d574e03824f909b49d2582e106ae64c.zip device_samsung_espressowifi-b9ad019f0d574e03824f909b49d2582e106ae64c.tar.gz device_samsung_espressowifi-b9ad019f0d574e03824f909b49d2582e106ae64c.tar.bz2 |
libpower: Make it friendly to overclocked CPU
Change-Id: Ie3743fdd5256b3c57a746205fcc7184f86e348ad
-rw-r--r-- | libpower/power.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpower/power.c b/libpower/power.c index 68ed7c6..cae89cc 100644 --- a/libpower/power.c +++ b/libpower/power.c @@ -163,6 +163,7 @@ static int boostpulse_open(struct omap_power_module *omap_device) { } static void omap_power_set_interactive(struct power_module *module, int on) { +#if 0 struct omap_power_module *omap_device = (struct omap_power_module *) module; if (!omap_device->inited) @@ -174,6 +175,7 @@ static void omap_power_set_interactive(struct power_module *module, int on) { */ sysfs_write(CPUFREQ_CPU0 "scaling_max_freq", on ? max_freq : nom_freq); +#endif } static void omap_power_hint(struct power_module *module, power_hint_t hint, void *data) { |