From: Shinya Kuribayashi Date: Fri, 6 Nov 2009 12:44:37 +0000 (+0900) Subject: i2c-designware: Don't use the IC_CLR_INTR register to clear interrupts X-Git-Tag: v2.6.33-rc1~339^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e28000a38da803de8d90727bec45f3d7c831a59a;p=pandora-kernel.git i2c-designware: Don't use the IC_CLR_INTR register to clear interrupts We're strongly discouraged from using the IC_CLR_INTR register because it clears all software-clearable interrupts asserted at the moment. stat = readl(IC_INTR_STAT); : : <=== Interrupts asserted during this period will be lost : readl(IC_CLR_INTR); Instead, use the separately-prepared IC_CLR_* registers. At the same time, this patch adds all remaining interrupt definitions available in the DesignWare I2C hardware. Signed-off-by: Shinya Kuribayashi Signed-off-by: Ben Dooks --- Reading git-diff-tree failed