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

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

Merge "tspp: Set TSIF reference clock rate"

parents 37b2c18b c4227444
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2935,6 +2935,7 @@ static int msm_tspp_probe(struct platform_device *pdev)
	struct resource *mem_bam;
	struct tspp_channel *channel;
	struct msm_bus_scale_pdata *tspp_bus_pdata = NULL;
	unsigned long rate;

	if (pdev->dev.of_node) {
		/* get information from device tree */
@@ -3029,6 +3030,10 @@ static int msm_tspp_probe(struct platform_device *pdev)
			device->tsif_ref_clk = NULL;
			goto err_refclock;
		}
		rate = clk_round_rate(device->tsif_ref_clk, 1);
		rc = clk_set_rate(device->tsif_ref_clk, rate);
		if (rc)
			goto err_res_tsif0;
	}

	/* map I/O memory */