-
由 Eric Miao 提交于
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: NDaniel Ribeiro <drwyrm@gmail.com> Signed-off-by: NEric Miao <eric.miao@marvell.com>
a8f6faeb