Re: [PATCH] i2c: tegra: Correct error path in probe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Monday 27 June 2016 02:58 PM, Jon Hunter wrote:
Hi all,

On 14/06/16 21:26, Jon Hunter wrote:
@@ -912,7 +912,7 @@ static int tegra_i2c_probe(struct platform_device *pdev)
  	ret = tegra_i2c_init(i2c_dev);
  	if (ret) {
  		dev_err(&pdev->dev, "Failed to initialize i2c controller");
-		goto unprepare_div_clk;
+		goto disable_div_clk;
  	}


Yes, this looks correct.

Acked-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux