Re: [PATCH v3] pch_gpio: Support interrupt function

From: Alexander Stein
Date: Wed Jun 22 2011 - 02:29:05 EST


On Wednesday 22 June 2011 02:10:28 Tomoya MORINAGA wrote:
> (2011/06/21 18:10), Alexander Stein wrote:
> > I wrote a small program which use poll(2) on value, after edge hase been
> > configured from shell. I cannot test the edge detection appropriately due
> > to debouncing using jumpers.
>
> Really ?
> In out test environment, my test program could detect edge interrupt
> correctly.

My test program used poll/select on edge successfully. But I could not test
the raising or falling feature actually, as my input is bouncing. So, it
doesn't matter if I set both/raising/falling in edge, due to my inputs the
effect is the same. Any input event will end in several raising and falling
interrupts events.
I hope I could make this more clear.

Alexander
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/