This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am335x sdk7 request_irq works different

I've moved to SDK7 from SDK6 and cant using request_irq in such code:

        rc=request_irq(7,(void*)dfifo_interrupt,0,"tmfifo",fifodev.pfifo);
        if (rc) {
                pr_err("Request irq=%d failed (%d)\n",fifodev.irq,rc);
                return -EBUSY;
        }

insmod shows:

Request irq=7 failed (-22).

I've changed FLAG field and it didnot help.

How can I correctly fix this code?