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

Commit 062fbde9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "clk: qcom: clk-cpu-osm: correct the logic to check per-core DCVS status"

parents 3515731b 79c1dc2f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1188,11 +1188,11 @@ static int clk_cpu_osm_driver_probe(struct platform_device *pdev)

	/* Check if per-core DCVS is enabled/not */
	val = clk_osm_read_reg(&pwrcl_clk, CORE_DCVS_CTRL);
	if (val && BIT(0))
	if (val & BIT(0))
		pwrcl_clk.per_core_dcvs = true;

	val = clk_osm_read_reg(&perfcl_clk, CORE_DCVS_CTRL);
	if (val && BIT(0))
	if (val & BIT(0))
		perfcl_clk.per_core_dcvs = true;

	rc = clk_osm_read_lut(pdev, &l3_clk);