Skip to contentSkip to conversation

__ipipe_mach_demux_irq issue. (solved)

Adeos-main garryt 1 participant 1 message Jun 4, 2007

lore
Share & tools
lore

garryt

author
#0 lore raw

Hello,

Thanks for the answer, following your advice i just looked at the previous code (not patched), and then i may have the solution.

In fact irq generated was defined as edge triggered:
set_irq_handler(irq, handle_edge_irq);

while GPIO register was only modified like this
set_irq_type(irq, IRQF_TRIGGER_LOW);

This seems to be ok (at least working...) when used without IPIPE, but unfortunately IPIPE was looking for the correct handler in order to define mask, unmask, ack function for this irq... (As far as i understood)

then i have just registered the correct handler and everything is ok.

set_irq_type(irq, IRQF_TRIGGER_LOW);
set_irq_handler(irq, handle_level_irq);

Thanks.