spidev on davinci

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, I am trying to use spidev to send messages via spi on OMAP-L137 EVM board.
I have an spidev entry in /dev, but when I try to send data, I have the following message:

spidev spi1.0: SPI transfer failed: -22
spi_master spi1: failed to transfer one message from queue

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.
But I can't find the implementation of transfer_one function for davinci_spi.

So, I have two questions:
What implementation is used by default when transfer_one implementation isn't provided?
Should I write my own implementation of transfer_one function&



--
Regards, Denis Obrezkov
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux