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

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

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

parents c08bc8dc 88bb4875
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1030,10 +1030,10 @@ 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 = KHz(400);
	}
	dev_info(&pdev->dev, "Bus frequency is set to %dHz\n",
					gi2c->i2c_rsc.clk_freq_out);

	gi2c->irq = platform_get_irq(pdev, 0);
	if (gi2c->irq < 0) {