From: Eric Miao Date: Tue, 21 Apr 2009 06:39:07 +0000 (+0800) Subject: [ARM] pxa: fix issue of muxed GPIO irq_chip functions touching non-muxed GPIOs X-Git-Tag: v2.6.30-rc5~51^2~4^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8f6faebaf5b3f0f56b7c12a4f99d97c56938b37;p=pandora-kernel.git [ARM] pxa: fix issue of muxed GPIO irq_chip functions touching non-muxed GPIOs pxa_gpio_irq_type() and pxa_unmask_muxed_gpio() will touch non-muxed GPIOs (0 and 1 on PXA2xx/PXA3xx) bits in GRERx and GFERx, which is incorrect. Actually, only those bits should get updated if the corresponding bits are set in c->irq_mask as well. Fix this by updating only those relevant bits. Reported-and-tested-by: Daniel Ribeiro Signed-off-by: Eric Miao --- Reading git-diff-tree failed