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

Michael Krufky mkrufky at linuxtv.org
Thu Jun 19 15:02:43 CEST 2008


Abhijit Bhopatkar wrote:
> 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>
>   
Reviewed-by: Michael Krufky <mkrufky at linuxtv.org>

Mauro, Please merge this one -- this is a bug fix, and it should go to
2.6.26.

Ubuntu is already shipping this patch as part of the "Ubuntu sauce" --
Once this is merged to Linus, I will forward it on to -stable for
2.6.24.y and 2.6.25.y.

There are other pending bug-fix patches waiting for 2.6.26 -- if you
need a list, please let me know.

Regards,

Mike


> ---
>  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