Go to previous topic
Go to next topic
Last Post 05 Dec 2007 04:48 PM by  hrshk
Unable to install ISR for GPIO
 0 Replies
Author Messages
hrshk
New Member
New Member
Posts:


--
05 Dec 2007 04:48 PM
    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


    ---