15 Feb
2013
15 Feb
'13
8:10 a.m.
On Wed, Feb 13, 2013 at 01:19:17PM +0000, Mark Brown wrote:
On Wed, Feb 13, 2013 at 11:09:57AM +0530, Ramesh Babu wrote:
If the device only interrupts on one edge how does it detect jack removal?
This patch is mainly to handle GPIOs where there is some toggling of the GPIO lines due to the switch bouncing, and the debounce time cannot be increased further due to other constraints. In such cases, providing the specific edge on which to trigger the interrupt helps increase the robustness.
___ _ _ _________ e.g. |_| |______________| |_| insert followed by removal, where we want to trigger on the falling edge in both cases.