Re: [PATCH v2 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-22 Thread Vinod Koul
On Wed, 2012-08-22 at 12:04 -0400, Matt Porter wrote: > for querying of these types of limitations. Right now, the > mmc driver implicitly knows that EDMA needs this restriction > but it's something that should be queried before calling > prep_slave(). that's something we need to add; exporting cha

Re: [PATCH v2 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-22 Thread Matt Porter
On Wed, Aug 22, 2012 at 09:15:22AM +0530, Vinod Koul wrote: > On Tue, 2012-08-21 at 14:43 -0400, Matt Porter wrote: > > Removes use of the DaVinci EDMA private DMA API and replaces > > it with use of the DMA engine API. > > > > Signed-off-by: Matt Porter > > --- > > > + struct dma_slav

Re: [PATCH v2 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-21 Thread Vinod Koul
On Tue, 2012-08-21 at 14:43 -0400, Matt Porter wrote: > Removes use of the DaVinci EDMA private DMA API and replaces > it with use of the DMA engine API. > > Signed-off-by: Matt Porter > --- > + struct dma_slave_config dma_rx_conf = { > + .direction = DMA_DEV_TO_M

[PATCH v2 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-21 Thread Matt Porter
Removes use of the DaVinci EDMA private DMA API and replaces it with use of the DMA engine API. Signed-off-by: Matt Porter --- drivers/spi/spi-davinci.c | 292 - 1 file changed, 130 insertions(+), 162 deletions(-) diff --git a/drivers/spi/spi-davinci