Jon Hunter eab09988e4 i2c: tegra: Correct error path in probe
Commit 497fbe24987b ("i2c: tegra: enable multi master mode for tegra210")
enables the Tegra I2C 'div_clk' for adapters using the multi-master mode
during the device probe. Although the probe error path was updated to
disable the clock on probe failure, there is one place after calling
tegra_i2c_init() where the clock will not be disabled on failure. Correct
the error path so that the 'div_clk' is disabled if calling
tegra_i2c_init() fails.

Fixes: 497fbe24987b ("i2c: tegra: enable multi master mode for tegra210")

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2016-07-06 00:20:37 +09:00
..
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-07-31 13:32:31 +02:00
2014-11-07 18:35:33 +01:00
2015-12-05 19:55:36 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2016-04-12 23:44:16 +02:00
2015-03-27 16:53:41 +01:00
2015-05-12 18:27:48 +02:00
2014-11-07 18:35:33 +01:00
2015-08-10 08:37:28 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2016-05-26 20:43:06 +02:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2016-05-13 12:40:15 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00