i2c: tegra: Use ALL_PACKETS_XFER_COMPLETE interrupt
authorChaitanya Bandi <bandik@nvidia.com>
Wed, 27 Feb 2013 09:43:35 +0000 (14:43 +0530)
committerRiham Haidar <rhaidar@nvidia.com>
Wed, 13 Mar 2013 23:22:54 +0000 (16:22 -0700)
commit6ccd093d5282dbddb5c590d6c1ebd4cc5d097a12
tree172e8576c04bd1061a4267baf6e225ebc78d0e73
parent84d79a515e3074d390a91755f931def47ff383c7
i2c: tegra: Use ALL_PACKETS_XFER_COMPLETE interrupt

The issue is that some clock stretching is observed
in case of coupled Write-Read transaction after the write
transaction because we wait for PACKET_XFER_COMPLETE.
Using ALL_PACKETS_XFER_COMPLETE will prevent that clock
stretching. In case of non-coupled transactions,
PACKET_XFER_COMPLETE is used.

Bug 1234504

Change-Id: I7e51bc0cc674bc91ca63b15e3d4b8696de82e1cb
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/204520
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/i2c/busses/i2c-tegra.c