hello everybody:
recently i want to take GPIO1 as interrupt source in my driver,the work
flow as follow:
1 set GPIO1 as input mode
2 set the trigger mode
3 request_irq(gpio_to_irq(GPIO1),void *)hander,SA_INTERRUPT,xx,xx);
4 do the work in the interrupt process.
i do not know whether it is validate?
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
