i2c: tegra: Return -EAGAIN in case of ARB Lost
authorChaitanya Bandi <bandik@nvidia.com>
Wed, 30 Jan 2013 04:39:14 +0000 (09:39 +0530)
committerRiham Haidar <rhaidar@nvidia.com>
Wed, 30 Jan 2013 23:17:08 +0000 (15:17 -0800)
commitf2c6207ff4f4b93227a103a71d1519b7744e609d
treec4136623f3cf26b468f53534bbaeb895be4ecd59
parent0179fea9f318b960660c3a2fecdf29fefe7c13e8
i2c: tegra: Return -EAGAIN in case of ARB Lost

In case of ARB lost, return -EAGAIN so that the
communication is retried.

Bug 1222180

Change-Id: I003e02732568e08fabf6fe15f687e6ae73169f66
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/195401
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
drivers/i2c/busses/i2c-tegra.c