diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2008-12-29 14:59:29 +0100 |
---|---|---|
committer | Patrick Boettcher <pb@linuxtv.org> | 2008-12-29 14:59:29 +0100 |
commit | c3e8ee8a3c518a9fcd46aeb71d03e798beaa283a (patch) | |
tree | 31a0ec6b21a94d804335221ef746c2500ef4239c /linux/drivers/media | |
parent | 9b4cfe3aca4123a0279d63449c540a2fdd5fddca (diff) | |
download | mediapointer-dvb-s2-c3e8ee8a3c518a9fcd46aeb71d03e798beaa283a.tar.gz mediapointer-dvb-s2-c3e8ee8a3c518a9fcd46aeb71d03e798beaa283a.tar.bz2 |
[PATCH] usb-urb.c: Fix initialization of URB list.
From: Thomas Reitmayr <treitmayr@devbase.at>
Fix the initialization of the URB list for a DVB-USB device to prevent
problems on certain platforms (MIPS).
Priority: normal
Signed-off-by: Thomas Reitmayr <treitmayr@devbase.at>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/usb-urb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/usb-urb.c b/linux/drivers/media/dvb/dvb-usb/usb-urb.c index eb3aaaf7a..5becc5a20 100644 --- a/linux/drivers/media/dvb/dvb-usb/usb-urb.c +++ b/linux/drivers/media/dvb/dvb-usb/usb-urb.c @@ -160,7 +160,8 @@ static int usb_bulk_urb_init(struct usb_data_stream *stream) stream->props.u.bulk.buffersize, usb_urb_complete, stream); - stream->urb_list[i]->transfer_flags = 0; + stream->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; + stream->urb_list[i]->transfer_dma = stream->dma_addr[i]; stream->urbs_initialized++; } return 0; |