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

Commit a477bdb6 authored by Taniya Das's avatar Taniya Das
Browse files

clk: msm: clock-cpu: Fix prepare_enable count for A53 pwr clock



CPUFreq driver does not use the a53_perf_clk clock and thus when there is a
CPU notifications to hotplug in/out cores there is an unbalanced reference
count for a53_pwr_clk is unbalanced (prepare).

Change-Id: I37b79e434c4fab58663c5f0e383cb83b9904cd31
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent d171201f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -833,7 +833,7 @@ static int clock_cpu_probe(struct platform_device *pdev)
	for_each_online_cpu(cpu) {
		WARN(clk_prepare_enable(&cci_clk.c),
				"Unable to Turn on CCI clock");
		WARN(clk_prepare_enable(logical_cpu_to_clk(cpu)),
		WARN(clk_prepare_enable(&a53_pwr_clk.c),
				"Unable to turn on CPU clock for %d\n", cpu);
	}