summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-ocores.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-05-07 06:46:19 (GMT)
committerWolfram Sang <w.sang@pengutronix.de>2012-05-12 14:10:12 (GMT)
commitc889e91d2cc22123f20f40dde0c0a91856a20eea (patch)
tree82119964f7b663140b10ede80bf1759471d79972 /drivers/i2c/busses/i2c-ocores.c
parent3ac0b3379307f9c9bd00beacbf02623ab127e334 (diff)
downloadlinux-fsl-qoriq-c889e91d2cc22123f20f40dde0c0a91856a20eea.tar.xz
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
Diffstat (limited to 'drivers/i2c/busses/i2c-ocores.c')
0 files changed, 0 insertions, 0 deletions