diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-13 11:02:43 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-13 11:02:43 +0000 |
commit | 21d1cfda75385abe2d638a863c977f3c2c93f2fe (patch) | |
tree | bc170fa8a1cce287bdf1260bc5010d7c4f4ba6a6 | |
parent | 4342396d067393d31b3ec38a9d0e00ffb0286c30 (diff) | |
download | mediapointer-dvb-s2-21d1cfda75385abe2d638a863c977f3c2c93f2fe.tar.gz mediapointer-dvb-s2-21d1cfda75385abe2d638a863c977f3c2c93f2fe.tar.bz2 |
DVB-USB UMT-010 channel scan oops
From: Austin Lund <austin.lund@gmail.com>
In the umt-010 driver the struct umt_properties sets the number of URBs for
transfer to 20. But in dvb-usb.h MAX_NO_URBS_FOR_DATA_STREAM is set to 10.
Not surprisingly this causes an oops for all devices which use the umt-010
chipset when they are inserted.
fix on Kaffeine channel scan for
Initialize stream count using MAX_NO_URBS_FOR_DATA_STREAM.
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: maximilian attems <max@stro.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/umt-010.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/umt-010.c b/linux/drivers/media/dvb/dvb-usb/umt-010.c index ca850d266..b6a3cbc44 100644 --- a/linux/drivers/media/dvb/dvb-usb/umt-010.c +++ b/linux/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 = { |