Change-Id: I244d06a50d1e15353c00fde8ba46c661aa960fb5
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
if (!strcmp(policy_use, "true"))
dm->dm_data[index].policy_use = true;
}
+
+ if (of_property_read_u32(child_np, "cal_id", &dm->dm_data[index].cal_id))
+ return -ENODEV;
}
return ret;
config.cmd = cmd;
config.response = true;
config.indirection = false;
- config.cmd[0] = dm_type;
+ config.cmd[0] = dm->cal_id;
config.cmd[1] = max_freq;
config.cmd[2] = POLICY_REQ;
struct list_head min_clist;
struct list_head max_clist;
u32 constraint_checked;
+ u32 cal_id;
};
struct exynos_dm_device {