lkml.org 
[lkml]   [2012]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 10/11] usb/renesas: add context parameter to prep_slave_sg call
Date
Fixup for calls affected by adding the new context parameter to DMA_SLAVE
interface.

Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Felipe Balbi <balbi@ti.com>
---
drivers/usb/renesas_usbhs/fifo.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c
index 72339bd..089622f 100644
--- a/drivers/usb/renesas_usbhs/fifo.c
+++ b/drivers/usb/renesas_usbhs/fifo.c
@@ -785,7 +785,8 @@ static void usbhsf_dma_prepare_tasklet(unsigned long data)

desc = chan->device->device_prep_slave_sg(chan, &sg, 1, dir,
DMA_PREP_INTERRUPT |
- DMA_CTRL_ACK);
+ DMA_CTRL_ACK,
+ NULL);
if (!desc)
return;

--
1.7.8.4


\
 
 \ /
  Last update: 2012-02-02 22:35    [W:0.138 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site