diff options
author | 2016-06-14 21:26:46 +0100 | |
---|---|---|
committer | 2016-07-06 00:20:37 +0900 | |
commit | eab09988e47f2b4322faa5ee1430d05714e59000 (patch) | |
tree | c2c99bce1fb53683c8f5b5f0dbf093d5c1cf7449 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | i2c: remove __init from i2c_register_board_info() (diff) | |
download | wireguard-linux-eab09988e47f2b4322faa5ee1430d05714e59000.tar.xz wireguard-linux-eab09988e47f2b4322faa5ee1430d05714e59000.zip |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions