[RFT][PATCH 1/2] irqchip: vt8500: Fix implementation for irq_ack and irq_mask

2013-07-08 Thread Axel Lin
Current code sets both irq_ack and irq_mask callbacks to vt8500_irq_mask(). However, vt8500_irq_mask does not clear interrupt enable bit when the interrupt trigger mode is edge trigger. This patch moves the code clearing Interrupt Status Register bit to irq_ack(). irq_mask() always clear

[RFT][PATCH 1/2] irqchip: vt8500: Fix implementation for irq_ack and irq_mask

2013-07-08 Thread Axel Lin
Current code sets both irq_ack and irq_mask callbacks to vt8500_irq_mask(). However, vt8500_irq_mask does not clear interrupt enable bit when the interrupt trigger mode is edge trigger. This patch moves the code clearing Interrupt Status Register bit to irq_ack(). irq_mask() always clear