How to register a function in a driver code as its ISR
- by CVS-2600Hertz-wordpress-com
Following the feedback i got from:
http://stackoverflow.com/questions/2683682/new-to-linux-kernel-driver-development/2683819
I have written a driver (.c file) by comparing it with an existing driver
and "borrowing" heavily from its code.
The driver is registered fine and init() and probe() are working fine.
I am also able to access the peripheral device registers. :-)
However i am a bit hazy about the IRQ/ISR.
The peripheral-device is a input device and raises an interrupt on a GPIO pin.
How do i move ahead from my current state ( init(), probe(), etc. )
to be able to handle the IRQ and execute my
ISR function??
Many-Thanks in Advance