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 Jan 10, 2021
1 parent 0878a31 commit ec408d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/cpufreq/qcom-cpufreq-hw.c
Original file line number Diff line number Diff line change
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 ec408d1

Please sign in to comment.