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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to