diff options
author | Thomas Reitmayr <treitmayr@devbase.at> | 2008-12-29 08:59:29 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:39:38 -0500 |
commit | d29ca09d50309bb7df5d57aec88efdcd09a56f9f (patch) | |
tree | ecd4dd717dc5603cf132a201208a3cd0ee47a304 /drivers/media/dvb/dvb-usb/usb-urb.c | |
parent | 2e5ef2dfc45ff1ecebb0d8657b85b3fc716db9bf (diff) |
V4L/DVB (9981): [PATCH] usb-urb.c: Fix initialization of URB list.
Fix the initialization of the URB list for a DVB-USB device to prevent
problems on certain platforms (MIPS).
Signed-off-by: Thomas Reitmayr <treitmayr@devbase.at>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/usb-urb.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/usb-urb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/usb-urb.c b/drivers/media/dvb/dvb-usb/usb-urb.c index da93b9e982c0..9da2cc95ca13 100644 --- a/drivers/media/dvb/dvb-usb/usb-urb.c +++ b/drivers/media/dvb/dvb-usb/usb-urb.c | |||
@@ -156,7 +156,8 @@ static int usb_bulk_urb_init(struct usb_data_stream *stream) | |||
156 | stream->props.u.bulk.buffersize, | 156 | stream->props.u.bulk.buffersize, |
157 | usb_urb_complete, stream); | 157 | usb_urb_complete, stream); |
158 | 158 | ||
159 | stream->urb_list[i]->transfer_flags = 0; | 159 | stream->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; |
160 | stream->urb_list[i]->transfer_dma = stream->dma_addr[i]; | ||
160 | stream->urbs_initialized++; | 161 | stream->urbs_initialized++; |
161 | } | 162 | } |
162 | return 0; | 163 | return 0; |