the bigger problem is that i can't seem to get them to trigger on
low. is this even possible?
and how to try to allocate IRQ 5? its mapped to IRQ 22, and i've
tried IRQ_EP93XX_GPIO3MUX to get it allocated, but it doesn't seem
to work.
Thanks
anish
On 03/24/11 12:39, Mika Westerberg wrote:
On Thu, Mar 24, 2011 at 8:05 AM, Anish
Patel <m("gmail.com","anish.mailing.list");">>
wrote:
Hi all,
I am trying to use the IRQ's on the PC 104 connector
for generating
interrupts.
When using 6 and 7, i have 6 set for active high and
rising edge, and i
have 7 set for active low and falling edge.
6 works as expected, but irq 7 only seems to trigger
on active high, not
low as expected.
//irq 6
request_irq(IRQ_EP93XX_EXT1 ,
detect_down_irq,
IRQF_TRIGGER_HIGH & IRQF_TRIGGER_RISING,
You might want to use '|' instead of '&' above.
"down_irq",
NULL);
//irq7
request_irq(IRQ_EP93XX_EXT3 ,
detect_down_irq,
IRQF_TRIGGER_LOW & IRQF_TRIGGER_FALLING,
Ditto.
"down_irq",
NULL);
i've tried the snippet from the ts-eth driver for
allocating IRQ5, but
it always fails with resource busy.
any tips would be greatly appreciated.
Thanks
Anish
__._,_.___
__,_._,___
|
|