summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-11-02 07:31:57 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-11-02 07:31:57 -0400
commit753df9742835a383830d95b183642f0eab31e851 (patch)
tree0ef8be8507d179bc4d69e3406eeb7dbbabbff8fb /src/modules
parent3ddd090173410483e7bb369cbf422e13c8e529aa (diff)
disable cpuclock powersave updating for demo gadgets
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/sysinfo/cpuclock/cpuclock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/sysinfo/cpuclock/cpuclock.c b/src/modules/sysinfo/cpuclock/cpuclock.c
index 83890bf..7db20e3 100644
--- a/src/modules/sysinfo/cpuclock/cpuclock.c
+++ b/src/modules/sysinfo/cpuclock/cpuclock.c
@@ -208,6 +208,7 @@ _cpuclock_event_cb_powersave(void *data, int type, void *event)
208 208
209 if (type != E_EVENT_POWERSAVE_UPDATE) return ECORE_CALLBACK_PASS_ON; 209 if (type != E_EVENT_POWERSAVE_UPDATE) return ECORE_CALLBACK_PASS_ON;
210 if (!inst->cfg->cpuclock.auto_powersave) return ECORE_CALLBACK_PASS_ON; 210 if (!inst->cfg->cpuclock.auto_powersave) return ECORE_CALLBACK_PASS_ON;
211 if (inst->cfg->id == -1) return ECORE_CALLBACK_RENEW;
211 212
212 ev = event; 213 ev = event;
213 if (!inst->cfg->cpuclock.status->orig_governor) 214 if (!inst->cfg->cpuclock.status->orig_governor)