From: Kevin Hilman Date: Thu, 21 Apr 2011 16:08:15 +0000 (-0700) Subject: gpio/omap: _clear_gpio_irqbank: fix flushing of posted write X-Git-Tag: v3.1-rc1~313^2~20^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df3c851716424fda0c7b14c4cae71cea467a9944;p=pandora-kernel.git gpio/omap: _clear_gpio_irqbank: fix flushing of posted write In commit 78a1a6d3411de1a8b0dc1cb92754b5f12f251912 (ARM: OMAP4: Update the GPIO support) braces were mistakenly added to included the register read-back inside the cpu_is_* checking. Remove the braces, ensuring that a register read-back is done, even when the IRQSTATUS2 register is not written. Note that the register read-back might be IRQSTATUS1 or IRQSTATUS2 depending on the CPU, but a read-back of any register in that region will cause a flush of the posted writes. Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed