Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7823a9b7 authored by Taniya Das's avatar Taniya Das
Browse files

cpufreq: qcom: cpufreq-hw: Remove enable of GT_IRQ for EPSS



CPUFREQ SW does not require to enable the IRQ for EPSS, thus remove the
enable.

Change-Id: Ib1c10d755355c6f4df46a62568d2895e291e846a
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent 09ea6491
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -316,8 +316,12 @@ static int qcom_cpufreq_hw_cpu_init(struct cpufreq_policy *policy)
			return ret;
			return ret;
		}
		}


		ret = irq_set_affinity_hint(c->dcvsh_irq, &c->related_cpus);
		if (ret)
			dev_err(cpu_dev, "Failed to set affinity for irq %d\n",
					c->dcvsh_irq);

		c->is_irq_requested = true;
		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]);
		writel_relaxed(0x0, c->base + offsets[REG_INTR_CLR]);
		c->is_irq_enabled = true;
		c->is_irq_enabled = true;
		c->freq_limit_attr.attr.name = "dcvsh_freq_limit";
		c->freq_limit_attr.attr.name = "dcvsh_freq_limit";