aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-02-14 07:43:33 -0500
committerWolfram Sang <wolfram@the-dreams.de>2013-02-15 15:08:29 -0500
commit58823c72f6b95414fa11cb8a0e5f1d0e548c2f34 (patch)
tree225ecd21db05c34bbe7a1f608a8ca8e8046ceb23 /drivers/i2c
parent724d5edac76d8c9a4198b74c80286df38ed81679 (diff)
i2c: tegra: remove warning dump if timeout happen in transfer
If timeout error occurs in the i2c transfer then it was dumping warning of call stack. Remove the warning dump as there is may be possibility that some slave devices are busy and not responding the i2c communication. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index 2dadb964c464..e58a58d7231c 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -588,7 +588,7 @@ static int tegra_i2c_xfer_msg(struct tegra_i2c_dev *i2c_dev,
588 ret = wait_for_completion_timeout(&i2c_dev->msg_complete, TEGRA_I2C_TIMEOUT); 588 ret = wait_for_completion_timeout(&i2c_dev->msg_complete, TEGRA_I2C_TIMEOUT);
589 tegra_i2c_mask_irq(i2c_dev, int_mask); 589 tegra_i2c_mask_irq(i2c_dev, int_mask);
590 590
591 if (WARN_ON(ret == 0)) { 591 if (ret == 0) {
592 dev_err(i2c_dev->dev, "i2c transfer timed out\n"); 592 dev_err(i2c_dev->dev, "i2c transfer timed out\n");
593 593
594 tegra_i2c_init(i2c_dev); 594 tegra_i2c_init(i2c_dev);