From: Laxman Dewangan Date: Wed, 13 Jun 2012 10:12:36 +0000 (+0530) Subject: i2c: tegra: make sure register writes completes X-Git-Tag: v3.6-rc1~67^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec7aaca2f64f509f45d463d784b41d0b3d2be083;p=pandora-kernel.git i2c: tegra: make sure register writes completes The Tegra PPSB (an peripheral bus) queues writes transactions. In order to guarantee that writes have completed before a certain time, a read transaction to a register on the same bus must be executed. This is necessary in situations such as when clearing an interrupt status or enable, so that when returning from an interrupt handler, the HW has already de-asserted its interrupt status output, which will avoid spurious interrupts. Signed-off-by: Laxman Dewangan Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed