[linux-dvb] [PATCH] DVB-USB UMT-010 driver oops on install

Abhijit Bhopatkar bain at devslashzero.com
Mon Jun 16 03:57:24 CEST 2008


Initialize stream count using MAX_NO_URBS_FOR_DATA_STREAM.

Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
Signed-off-by: Abhijit Bhopatkar <bain at devslashzero.com>
---
 drivers/media/dvb/dvb-usb/umt-010.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/dvb/dvb-usb/umt-010.c
b/drivers/media/dvb/dvb-usb/umt-010.c
index 9e7653b..118aab1 100644
--- a/drivers/media/dvb/dvb-usb/umt-010.c
+++ b/drivers/media/dvb/dvb-usb/umt-010.c
@@ -107,7 +107,7 @@ static struct dvb_usb_device_properties
umt_properties = {
 			/* parameter for the MPEG2-data transfer */
 			.stream = {
 				.type = USB_BULK,
-				.count = 20,
+				.count = MAX_NO_URBS_FOR_DATA_STREAM,
 				.endpoint = 0x06,
 				.u = {
 					.bulk = {
-- 1.5.5.29.g7134



More information about the linux-dvb mailing list