Message ID | 1344952177-18385-11-git-send-email-richard.genoud@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index 9456fca..48bf3bc 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c @@ -542,7 +542,8 @@ static int atmel_spi_next_xfer_dma(struct spi_master *master, &as->dma.sgrx, 1, DMA_FROM_DEVICE, - DMA_PREP_INTERRUPT | DMA_CTRL_ACK); + DMA_PREP_INTERRUPT | DMA_CTRL_ACK, + NULL); if (!rxdesc) goto err_dma; @@ -550,7 +551,8 @@ static int atmel_spi_next_xfer_dma(struct spi_master *master, &as->dma.sgtx, 1, DMA_TO_DEVICE, - DMA_PREP_INTERRUPT | DMA_CTRL_ACK); + DMA_PREP_INTERRUPT | DMA_CTRL_ACK, + NULL); if (!txdesc) goto err_dma;
commit 185ecb5f4fd43911c35956d4cc7d94a1da30417f changed dmaengine interface. => we have to update spi-atmel accordingly Signed-off-by: Richard Genoud <richard.genoud@gmail.com> --- drivers/spi/spi-atmel.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)