Hi, I am trying to use dma in spi interface as slave.
And driver is able to communicate with host inn 3.8 kernel
But not able to run in 3.12 kernel.
Its stuck at wait_for_completion(&rsbd->dma_rx_completion) function in read routine.
please help me.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, I am trying to use dma in spi interface as slave.
And driver is able to communicate with host inn 3.8 kernel
But not able to run in 3.12 kernel.
Its stuck at wait_for_completion(&rsbd->dma_rx_completion) function in read routine.
please help me.
Hi,
I'm not familiar with the AM37x devices and software, but is the SPI module properly initialized? Have you tried if it works without using DMA?
Best regards,
Miroslav
I am able to work without DMA on my board. And I have checked DMA code on 3.8 kernel with same board and its working.
But in 3.12 kernel, callback function is not execute after data receive.