Hi all,
I am using TI 3.12 kernel.
I need to use DMA in SPI. I know there is a mcspi driver which takes care of dma. The problem is I need to redefine my no. of DMA bytes to be transferred . Like I want dma rx callback to be generated after reading every 27 bytes . How do I set this ? , do I need to change in spi-omap2-mcspi.c file or can I do it in my drvier itself.
Should I change size in struct data_chunk which is defined in dmaengine.h
struct data_chunk {
size_t size;
size_t icg;
};