commit | c889e91d2cc22123f20f40dde0c0a91856a20eea | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Mon May 07 12:16:19 2012 +0530 |
committer | Wolfram Sang <w.sang@pengutronix.de> | Sat May 12 16:10:12 2012 +0200 |
tree | 82119964f7b663140b10ede80bf1759471d79972 | |
parent | 3ac0b3379307f9c9bd00beacbf02623ab127e334 [diff] |
i2c: tegra: notify transfer-complete after clearing status. The notification of the transfer complete by calling complete() should be done after clearing all interrupt status. This avoids the race condition of misconfigure the i2c controller in multi-core environment. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Cc: stable@kernel.org