<div dir="ltr"><div>Hello, I am trying to use spidev to send messages via spi on OMAP-L137 EVM board.<br></div>I have an spidev entry in /dev, but when I try to send data, I have the following message:<br><br><div class=""><code class="">spidev spi1.0: SPI transfer failed: -22
</code></div><div class=""><code class="">spi_master spi1: failed to transfer one message from queue<br><br></code></div><div class=""><code class="">Debugging using printk, I found out that a probe function is called, and after this transfer_one_message is called. In transfer_one_message master->transfer_one() function is called and returned with the error.<br></code></div><div class=""><code class="">But I can't find the implementation of transfer_one function for davinci_spi.<br><br></code></div><div class=""><code class="">So, I have two questions:<br></code></div><div class=""><code class="">What implementation is used by default when transfer_one implementation isn't provided?<br></code></div><div class=""><code class="">Should I write my own implementation of transfer_one function&<br></code></div><div class=""><code class=""><br></code></div><br clear="all"><div><div><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards, Denis Obrezkov<br></div></div>
</div></div></div>