Re: [PATCH v3] spi: spi-fsl-dspi: Add DMA support for Vybrid

2016-11-11 Thread Mark Brown
On Thu, Nov 10, 2016 at 05:49:15PM +0530, Sanchayan Maity wrote: A couple of small things, please send followup patches fixing them. > + rx_word = is_double_byte_mode(dspi); > + > + len = rx_word ? (dma->curr_xfer_len / 2) : dma->curr_xfer_len; Please use normal if statements, they're mu

[PATCH v3] spi: spi-fsl-dspi: Add DMA support for Vybrid

2016-11-10 Thread Sanchayan Maity
Add DMA support for Vybrid. Signed-off-by: Sanchayan Maity --- Changes since v2: 1. Rebase on top of Shawn's latest for-next branch 2. Make DMA mode the default for Vybrid. We no longer use the EOQ mode. Since devtype_data has been constantified it's no longer makes sense to change the trans_mode