Problem with spi transfer on OMAP-L137 using spidev with kernel 4.4.8

[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 a transfer_one function?

Same question on e2e forum:
http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/p/521829/1907004

--
Regards, Denis Obrezkov
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux