RE: [v3 PATCH 06/12] spi/atmel_spi: add dmaengine support

2013-01-07 Thread Yang, Wenyou
t.lik...@secretlab.ca; spi-devel-gene...@lists.sourceforge.net > Subject: Re: [v3 PATCH 06/12] spi/atmel_spi: add dmaengine support > > On Mon, 2013-01-07 at 09:50 +0800, Wenyou Yang wrote: > > From: Nicolas Ferre > [] > > diff --git a/drivers/spi/spi-atmel.c b/drivers

Re: [v3 PATCH 06/12] spi/atmel_spi: add dmaengine support

2013-01-06 Thread Joe Perches
On Mon, 2013-01-07 at 09:50 +0800, Wenyou Yang wrote: > From: Nicolas Ferre [] > diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c [] > +static inline bool atmel_spi_use_dma(struct atmel_spi *as, > + struct spi_transfer *xfer) > +{ > + if ((as->use_dma)