From patchwork Wed May 19 16:58:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Ringel X-Patchwork-Id: 100953 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4JH0gx0014360 for ; Wed, 19 May 2010 17:00:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752377Ab0ESRAk (ORCPT ); Wed, 19 May 2010 13:00:40 -0400 Received: from mail-in-18.arcor-online.net ([151.189.21.58]:33875 "EHLO mail-in-18.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752175Ab0ESRAi (ORCPT ); Wed, 19 May 2010 13:00:38 -0400 Received: from mail-in-03-z2.arcor-online.net (mail-in-03-z2.arcor-online.net [151.189.8.15]) by mx.arcor.de (Postfix) with ESMTP id AC33F3DC909; Wed, 19 May 2010 19:00:37 +0200 (CEST) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-03-z2.arcor-online.net (Postfix) with ESMTP id 9C2AF9DE4A; Wed, 19 May 2010 19:00:37 +0200 (CEST) Received: from localhost.localdomain (dslb-094-222-008-085.pools.arcor-ip.net [94.222.8.85]) (Authenticated sender: stefan.ringel@arcor.de) by mail-in-01.arcor-online.net (Postfix) with ESMTPA id 4A5375A43F; Wed, 19 May 2010 19:00:37 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-01.arcor-online.net 4A5375A43F DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1274288437; bh=KAvJukn24JV8rl2/gL/Ts1o8chQdgCJ8Fk5y+jO+V3w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=PwExQtRGarzmUwVj4s6ShQETx6RGbngV308Qf361BGZNTllGoyWxCmsTUGv1QOjY9 yclwQky3gpdC2dlrH46DmVTdoaXp5BrwVnx7JbmLzvbMSoqOieGqKXhT6X7OSPXAOw 6V2SB2sxl86jHrUCGqYWAKoab3n+8WMaG7N6Tygw= From: stefan.ringel@arcor.de To: linux-media@vger.kernel.org Cc: mchehab@redhat.com, d.belimov@gmail.com, Stefan Ringel Subject: [PATCH 4/4] tm6000: bugfix stabilizing urb data Date: Wed, 19 May 2010 18:58:27 +0200 Message-Id: <1274288307-2858-6-git-send-email-stefan.ringel@arcor.de> X-Mailer: git-send-email 1.7.0.3 In-Reply-To: <1274288307-2858-3-git-send-email-stefan.ringel@arcor.de> References: <1274288307-2858-3-git-send-email-stefan.ringel@arcor.de> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 19 May 2010 17:00:43 +0000 (UTC) diff --git a/drivers/staging/tm6000/tm6000-video.c b/drivers/staging/tm6000/tm6000-video.c index 4d92a12..2a61cc3 100644 --- a/drivers/staging/tm6000/tm6000-video.c +++ b/drivers/staging/tm6000/tm6000-video.c @@ -48,7 +48,7 @@ #define TM6000_MIN_BUF 4 #define TM6000_DEF_BUF 8 -#define TM6000_MAX_ISO_PACKETS 40 /* Max number of ISO packets */ +#define TM6000_MAX_ISO_PACKETS 46 /* Max number of ISO packets */ /* Declare static vars that will be used as parameters */ static unsigned int vid_limit = 16; /* Video memory limit, in Mb */ @@ -620,7 +620,7 @@ static void tm6000_uninit_isoc(struct tm6000_core *dev) static int tm6000_prepare_isoc(struct tm6000_core *dev, unsigned int framesize) { struct tm6000_dmaqueue *dma_q = &dev->vidq; - int i, j, sb_size, pipe, size, max_packets, num_bufs = 5; + int i, j, sb_size, pipe, size, max_packets, num_bufs = 8; struct urb *urb; /* De-allocates all pending stuff */