AnsweredAssumed Answered

Send SPI data in the tasklet

Question asked by 其东 刘 on Mar 6, 2019
Latest reply on Mar 7, 2019 by 其东 刘

Hello everyone
I am using the 3.14.52 kernel on the IMX6 development board. I am using SPI to send data. Use the spi_sync function to send SPI data directly in the write function of file_operations, which can be sent and received normally. The SPI data is sent using the spi_async function, and the program reports an error. Then my goal is to send SPI data in the tasklet. But in the tasklet, whether it is spi_sync function or spi_async, it reports an error. Do you have any good solutions?