From: Laxman Dewangan Date: Mon, 7 May 2012 06:46:19 +0000 (+0530) Subject: i2c: tegra: notify transfer-complete after clearing status. X-Git-Tag: v3.5-rc1~66^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c889e91d2cc22123f20f40dde0c0a91856a20eea;p=pandora-kernel.git 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 Acked-by: Stephen Warren Signed-off-by: Wolfram Sang Cc: stable@kernel.org --- Reading git-diff-tree failed