Re: [PATCH] pinctrl: rockchip: Only mask interrupts; never disable

2015-01-30 Thread Linus Walleij
On Mon, Jan 26, 2015 at 5:24 PM, Doug Anderson wrote: > The Rockchip GPIO interrupt controller totally throws away all status > about an interrupt when you "disable" the interrupt. That has > unfortunate consequences in the following situation: > > 1. An edge-triggered interrupt is enabled and s

Re: [PATCH] pinctrl: rockchip: Only mask interrupts; never disable

2015-01-26 Thread Heiko Stübner
Am Montag, 26. Januar 2015, 08:24:03 schrieb Doug Anderson: > The Rockchip GPIO interrupt controller totally throws away all status > about an interrupt when you "disable" the interrupt. That has > unfortunate consequences in the following situation: > > 1. An edge-triggered interrupt is enabled

[PATCH] pinctrl: rockchip: Only mask interrupts; never disable

2015-01-26 Thread Doug Anderson
The Rockchip GPIO interrupt controller totally throws away all status about an interrupt when you "disable" the interrupt. That has unfortunate consequences in the following situation: 1. An edge-triggered interrupt is enabled and should wake the system. 2. System suspend happens: interrupt is di