you can use Asynchronous notification , FASYNC .
Regards,
Nilesh
On Tue, Jan 28, 2014 at 9:47 PM, Vishwanath Govind <vishwanath.govind@xxxxxxxxx> wrote:
VishwaYou can implement irq handler in spi driver itself. SPI specific platform data can pass it from board file.Regards
On Tue, Jan 28, 2014 at 9:24 PM, Richard Weinberger <richard@xxxxxx> wrote:Am 28.01.2014 15:12, schrieb Amit Mahadik:
> Thanks Richard. One more question. If I register an SPI irq struct spi_board_info spi_board_info[] structure in machine board.c file; then the request irq api and irq handlerNever do any programming in the board file.
> should be written in board.c file or in the spidev driver.
The purpose if the board file it describing the hardware.
Please note, board files go away, device tree is the way to go.
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Thanks,
//richard
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies