Gpio interrupt shall pass the signal to application
Fabio Pozzi
pozzi.fabio at gmail.com
Sat Oct 6 04:59:06 EDT 2012
I think you could use sysfs_notify to send the notification and use
select() or poll() to wait for changes in the sysfs file in the interrupt
handler routine. You can find an example of this in the gpio-fan driver.
Hope it helps
--
Saluti,
Fabio Pozzi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121006/a4cdb23e/attachment.html
More information about the Kernelnewbies
mailing list