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

From: Laxman Dewangan
Date: Mon Jun 27 2016 - 05:46:59 EST



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>