summaryrefslogtreecommitdiff
path: root/drivers/sn
diff options
context:
space:
mode:
authorJin Park <jinyoungp@nvidia.com>2011-01-19 14:41:42 +0900
committerNiket Sirsi <nsirsi@nvidia.com>2011-01-28 19:36:49 -0800
commit6bab778a4b0caf58e464847c827d988a566bd434 (patch)
tree1cb945fbcf00f89cada57f0fa618399a12f1009f /drivers/sn
parent8197cb15eaf0640d13c816926f65972ca6cbba84 (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/sn')
0 files changed, 0 insertions, 0 deletions