Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758166AbYFONMY (ORCPT ); Sun, 15 Jun 2008 09:12:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757424AbYFONMO (ORCPT ); Sun, 15 Jun 2008 09:12:14 -0400 Received: from po-out-1718.google.com ([72.14.252.159]:53193 "EHLO po-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757398AbYFONMN (ORCPT ); Sun, 15 Jun 2008 09:12:13 -0400 Message-ID: <48551524.7050307@devslashzero.com> Date: Sun, 15 Jun 2008 18:42:04 +0530 From: Abhijit Bhopatkar User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: v4l-dvb-maintainer@linuxtv.org, linux-kernel@vger.kernel.org, linux-dvb@linuxtv.org Subject: [PATCH] DVB-USB UMT-010 driver oops on install X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1018 Lines: 31 Initialize stream count using MAX_NO_URBS_FOR_DATA_STREAM. Signed-off-by: Tim Gardner Signed-off-by: Abhijit Bhopatkar --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/