Silvio,
On Wednesday 19 September 2007 13:59, S. Fricke wrote:
how can i configure an "ext interrupt" to high-level? I want a interruption
on IRQ2, but I checked with an oscilloscope that the pin has a low state
and I needs a high state.
I have tried, after I got the irq (with irq_of_parse_and_map), set it with
set_irq_type(irq, IRQ_TYPE_LEVEL_HIGH);
But I think it is a system-configuration (irq_desc) and no
device-configuration.
Try with the attached patch.
Regards,
Juergen
--
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Vertretung Sued/Muenchen, Germany
Phone: +49-8766-939 228 | Fax: +49-5121-206917-9