Re: [PATCH v3] regmap: irq: clear status when disable irq

2013-10-23 Thread Mark Brown
On Tue, Oct 22, 2013 at 06:44:32PM +0800, Yi Zhang wrote: > clear the status bit if the mask register doesn't prevent > the chip level irq from being asserted Applied, thanks. signature.asc Description: Digital signature

[PATCH v3] regmap: irq: clear status when disable irq

2013-10-22 Thread Yi Zhang
clear the status bit if the mask register doesn't prevent the chip level irq from being asserted OR in the following sequence, there will be irq storm happens: 1) interrupt is triggered; 2) another thread disables it(the mask bit is set); 3) _Then_ the interrupt thread is not ACKed(the status bit