Merge "cpufreq: qcom: Set the register for GT Limits Management interrupt"

This commit is contained in:
qctecmdr 2020-06-04 06:22:34 -07:00 • committed by Gerrit - the friendly Code Review server
commit 791feec767

View file

@ -317,6 +317,8 @@ static int qcom_cpufreq_hw_cpu_init(struct cpufreq_policy *policy)
}
c->is_irq_requested = true;
writel_relaxed(GT_IRQ_STATUS, c->base + offsets[REG_INTR_EN]);
writel_relaxed(0x0, c->base + offsets[REG_INTR_CLR]);
c->is_irq_enabled = true;
c->freq_limit_attr.attr.name = "dcvsh_freq_limit";
c->freq_limit_attr.show = dcvsh_freq_limit_show;