Other Parts Discussed in Thread: DM3730
Hi!
I'm using linux TAO-PSP-03000106 and DM3730 chip.
When i've tried to run SPI3 in no-dma mode, i've discovered that only one first word from pack really appears on MOSI line. I've examinated omap2_mcspi.c driver and have found a little bug (as I suppose) in omap2_mcspi_work function.
There was condition that decides what function will be used:
if (m->is_dma_mapped || (t->len >= DMA_MIN_BYTES))
count = omap2_mcspi_txrx_dma(spi,t);
else
count = omap2_mcspi_txrx_pio(spi,t);
I guess there should be && instead of ||