Hi,
I am trying to request an interrupt on IRQ 63, but when i load the module i got the message:
setting trigger mode 2 for irq 63 failed (gpio_irq_type+0x0/0x2c) IRQ 63 is not free.
The code is:
if (request_irq(gpio_to_irq (AT91_PIN_PA31),interrupt_count,IRQF_TRIGGER_FALLING,"Reset_Fabrica",NULL)) { printk(KERN_WARNING "IRQ %d is not free.\n", AT91_PIN_PA31); return -EBUSY; }
Actually, any IRQ i try to request i got the message that the IRQ isn't free.
# cat /proc/interrupts CPU0
1: 103537 AIC at91_tick, rtc0, ttyS0 9: 11 AIC mmc0 10: 0 AIC at91_udc 13: 15 AIC atmel_spi.1 14: 0 AIC at73c213 20: 0 AIC ohci_hcd:usb1 21: 1795 AIC eth0 62: 1 GPIO Button 3 101: 1 GPIO at91_udc Err: 0Any ideia?
Regards