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 authored and acuicultor committed Jul 20, 2021
1 parent 0b9e6b2 commit 0947525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/cpufreq/qcom-cpufreq-hw.c
Expand Up @@ -522,8 +522,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 (core_count != c->max_cores) {
if (core_count == (c->max_cores - 1)) {
Expand Down

0 comments on commit 0947525

Please sign in to comment.