diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-05-07 06:46:19 (GMT) |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-05-12 14:10:12 (GMT) |
commit | c889e91d2cc22123f20f40dde0c0a91856a20eea (patch) | |
tree | 82119964f7b663140b10ede80bf1759471d79972 /drivers/i2c/busses/i2c-ocores.c | |
parent | 3ac0b3379307f9c9bd00beacbf02623ab127e334 (diff) | |
download | linux-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