The patch number 9981 was added via Patrick Boettcher <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
[email protected]
------
From: Thomas Reitmayr <[email protected]>
[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).
Priority: normal
Signed-off-by: Thomas Reitmayr <[email protected]>
Signed-off-by: Patrick Boettcher <[email protected]>
---
linux/drivers/media/dvb/dvb-usb/usb-urb.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -r 76527ca9283a -r a133edb6420e linux/drivers/media/dvb/dvb-usb/usb-urb.c
--- a/linux/drivers/media/dvb/dvb-usb/usb-urb.c Sun Dec 28 23:26:36 2008 -0200
+++ b/linux/drivers/media/dvb/dvb-usb/usb-urb.c Mon Dec 29 14:59:29 2008 +0100
@@ -160,7 +160,8 @@ static int usb_bulk_urb_init(struct usb_
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;
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/a133edb6420e8821e358bb68d81b3ba3fab57280
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits