diff options
author | Nitin Kumbhar <nkumbhar@nvidia.com> | 2011-03-25 14:46:28 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-03-25 17:09:08 -0700 |
commit | b42cce8710bef378af433b7f06a8501128fc1a87 (patch) | |
tree | 8e84c41b4581933fe3416e1ff0db3ed23952cbb1 /drivers | |
parent | a616ec3ef588ab50b4f296b5b022b1bb5934aa31 (diff) |
i2c: buses: tegra: use new cam_i2c slave controller
Use new cam_i2c slave (i2c2) instead of the legacy one.
With old i2c slave controller, occasionally it generates
spurious slave interrupts causing disruptions in i2c transfers.
BUG 790315
Reviewed-on: http://git-master/r/24287
(cherry picked from commit 001805e9036b647e9a1220f2b50e8973ec28e917)
Change-Id: Icd5310286de0338a4458c26a8d491bcded032b03
Reviewed-on: http://git-master/r/24294
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/busses/i2c-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index 30ffa65671dd..2f38170bb178 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -700,7 +700,7 @@ static int tegra_i2c_probe(struct platform_device *pdev) i2c_dev->is_dvc = plat->is_dvc; init_completion(&i2c_dev->msg_complete); - if (irq == INT_I2C || irq == INT_I2C3) + if (irq == INT_I2C || irq == INT_I2C2 || irq == INT_I2C3) i2c_dev->is_slave = true; platform_set_drvdata(pdev, i2c_dev); |