<div dir="ltr"><div>you can use Asynchronous notification  , FASYNC .</div><div> </div><div><a href="http://www.makelinux.net/ldd3/chp-6-sect-4">http://www.makelinux.net/ldd3/chp-6-sect-4</a></div><div> </div><div>Regards,</div>
<div>Nilesh</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 28, 2014 at 9:47 PM, Vishwanath Govind <span dir="ltr">&lt;<a href="mailto:vishwanath.govind@gmail.com" target="_blank">vishwanath.govind@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>You can implement irq handler in spi driver itself. SPI specific platform data can pass it from board file.<br>
</div>Regards<br></div>Vishwa <br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Jan 28, 2014 at 9:24 PM, Richard Weinberger <span dir="ltr">&lt;<a href="mailto:richard@nod.at" target="_blank">richard@nod.at</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">

Am <a href="tel:28.01.2014" target="_blank" value="+85228012014">28.01.2014</a> 15:12, schrieb Amit Mahadik:<br>
<div>&gt; 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 handler<br>
&gt; should be written in board.c file or in the spidev driver.<br>
<br>
</div>Never do any programming in the board file.<br>
The purpose if the board file it describing the hardware.<br>
Please note, board files go away, device tree is the way to go.<br>
<div><br>
Thanks,<br>
//richard<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
</div><a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br></div>