From b9ad019f0d574e03824f909b49d2582e106ae64c Mon Sep 17 00:00:00 2001 From: Ketut Putu Kumajaya Date: Mon, 21 Oct 2013 11:44:35 +0700 Subject: libpower: Make it friendly to overclocked CPU Change-Id: Ie3743fdd5256b3c57a746205fcc7184f86e348ad --- libpower/power.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit v1.1