diff options
author | Jin Park <jinyoungp@nvidia.com> | 2011-01-19 14:41:42 +0900 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-01-28 19:36:49 -0800 |
commit | 6bab778a4b0caf58e464847c827d988a566bd434 (patch) | |
tree | 1cb945fbcf00f89cada57f0fa618399a12f1009f /drivers/net/apne.c | |
parent | 8197cb15eaf0640d13c816926f65972ca6cbba84 (diff) |
i2c-tegra: Retry transfer when unexpected status is detected
Sometimes unexpected status like I2C busy status, Tx FIFO interrupted
and wait on Rx data etc is seen. Add a code to detect such conditions
and return -EAGAIN from driver. This will cause the i2c-core to retry
the transmission as per the retry count and time-out specified by the
platform data of the adapter.
Bug ID: 777455
Change-Id: Iac5971bca4d760d93cd2ed147f78fc2807315b4e
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/16212
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/net/apne.c')
0 files changed, 0 insertions, 0 deletions