int get_pass_table(struct pass_policy *policy, char *pass_conf_path)
{
int ret;
- int level;
policy->state = PASS_UNUSED;
policy->scenario.state = PASS_UNUSED;
#include "pass.h"
#include "pass-core.h"
+#include "pass-plugin.h"
#include "core/device-notifier.h"
#include "core/config-parser.h"
if (locked) {
_I("Lock '%s' scenario\n", name);
} else {
- int64_t locked_time =
- get_time_ms() - scenario->list[index].locked_time;
scenario->list[index].locked_time = 0;
- _I("UnLock '%s' scenario (%lldms)\n", name, locked_time);
+ _I("UnLock '%s' scenario (%lldms)\n", name,
+ (get_time_ms() - scenario->list[index].locked_time));
}
pass_governor_change_level_scope(policy, cpufreq_min_level,