commit | 21e9efd92bb5e205b6243166b0fd38d3a5be8235 | [log] [tgz] |
---|---|---|
author | Shardar Shariff Md <smohammed@nvidia.com> | Mon Apr 25 19:08:36 2016 +0530 |
committer | Wolfram Sang <wsa@the-dreams.de> | Wed May 11 16:32:26 2016 +0200 |
tree | 03f68e8cf681ffa1fd03592cf466f66981d8fb4a | |
parent | 3f30e40b96b085ff25babaa8d6bc0b75c8fb32b2 [diff] |
i2c: tegra: disable clock before returning error Disable clock before returning error in tegra_i2c_init() as its leaves i2c clock ON in case of error and never turns off again as it will have unbalanced clock enable/disable Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>