Hi,
I am able install Interrupt Service routines for many other peripherals using request_irq. But for all the GPIOs it fails consistently with -EINVAL.
The code I used is as following.
err = request_irq(INT_GPIO1, &interrupt_handler, SA_INTERRUPT,"mydevice", dev_id);
Please help.
Thanks,
Harish
|