Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c: tegra: Remove unnecessary write to INT_STATUS

The write is not necessary and may cause the I2C controller to misbehave.
With this fix, I2C on Tegra30 works (at least, running i2cdump repeatedly
on the WM8903 on Cardhu's I2C5/DVC bus).

Signed-off-by: Alok Chauhan <alokc@nvidia.com>
[swarren: Reworded commit description]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>

authored by

Alok Chauhan and committed by
Wolfram Sang
bf6c2de1 bb79a079

-1
-1
drivers/i2c/busses/i2c-tegra.c
··· 457 457 int ret; 458 458 459 459 tegra_i2c_flush_fifos(i2c_dev); 460 - i2c_writel(i2c_dev, 0xFF, I2C_INT_STATUS); 461 460 462 461 if (msg->len == 0) 463 462 return -EINVAL;