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

Commit 16a14a17 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "i2c-msm-geni: Add log to print the i2c bus frequency"

parents a29a3d57 81f5ee5e
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1297,12 +1297,11 @@ static int geni_i2c_probe(struct platform_device *pdev)
	}

	if (of_property_read_u32(pdev->dev.of_node, "qcom,clk-freq-out",
				&gi2c->i2c_rsc.clk_freq_out)) {
		dev_info(&pdev->dev,
			"Bus frequency not specified, default to 400KHz.\n");
				&gi2c->i2c_rsc.clk_freq_out))
		gi2c->i2c_rsc.clk_freq_out = KHz(400);
	}

	dev_info(&pdev->dev, "Bus frequency is set to %dHz.\n",
						gi2c->i2c_rsc.clk_freq_out);

	ret = geni_i2c_clk_map_idx(gi2c);
	if (ret) {