Skip to content

Commit

Permalink
cpufreq: qcom-hw: Log reported voltage for each OPP
Browse files Browse the repository at this point in the history
Required for calculating simplified energy models.

Signed-off-by: Danny Lin <danny@kdrag0n.dev>
  • Loading branch information
kdrag0n committed Dec 7, 2020
1 parent e681f17 commit 8db0557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/cpufreq/qcom-cpufreq-hw.c
Expand Up @@ -447,8 +447,8 @@ static int qcom_cpufreq_hw_read_lut(struct platform_device *pdev,

cur_freq = c->table[i].frequency;

dev_dbg(dev, "index=%d freq=%d, core_count %d\n",
i, c->table[i].frequency, core_count);
dev_info(dev, "index=%d freq=%d volt=%u, core_count %d\n",
i, c->table[i].frequency, volt, core_count);

if (!of_find_freq(of_table, of_len, c->table[i].frequency)) {
c->table[i].frequency = CPUFREQ_ENTRY_INVALID;
Expand Down

0 comments on commit 8db0557

Please sign in to comment.