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

Commit ee84d146 authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

clk: qcom: clk-cpu-osm: Update logic to populate the rate table



The logic to populate the rate table for a cluster is currently
flawed and never adds the highest supported single core frequency.
Correct this.

Change-Id: I89b73c9589ad916fa5af9edad420baa4c5a40111
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 51c75b62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2060,7 +2060,7 @@ static int clk_osm_get_lut(struct platform_device *pdev,
			last_entry = true;
		}
	}
	fmax_temp[k] = abs_fmax;
	fmax_temp[k++] = abs_fmax;

	osm_clks_init[c->cluster_num].rate_max = devm_kzalloc(&pdev->dev,
						 k * sizeof(unsigned long),