diff options
author | Alok Chauhan <alokc@nvidia.com> | 2012-04-02 11:23:02 +0530 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-04-22 21:29:05 +0200 |
commit | f70893d08338b9cab8008d2e30404ce58930a513 (patch) | |
tree | 69ae57606254ebe2598791895cea425143f25d41 /drivers/i2c/busses/i2c-imx.c | |
parent | 6c557cfee08751d22aed34840f389b846f0f4508 (diff) |
i2c: tegra: Add delay before resetting the controller after NACK
NACK interrupt is generated before I2C controller generates the STOP
condition on bus. Because of this reset of controller is happening
before I2C controller could complete STOP condition. So wait for some
time before resetting the controller so that STOP condition has
delivered properly on bus.
Added delay of 2 clock period before resetting the controller in case of
NACK error.
Signed-off-by: Alok Chauhan <alokc@nvidia.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
[wsa: Reworded the commit msg and code comment a bit]
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-imx.c')
0 files changed, 0 insertions, 0 deletions