From patchwork Sun Apr 25 06:57:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bee Hock Goh X-Patchwork-Id: 94872 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 o3P6vQ8e002303 for ; Sun, 25 Apr 2010 06:57:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751104Ab0DYG5N (ORCPT ); Sun, 25 Apr 2010 02:57:13 -0400 Received: from mail-gx0-f217.google.com ([209.85.217.217]:57578 "EHLO mail-gx0-f217.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751038Ab0DYG5M (ORCPT ); Sun, 25 Apr 2010 02:57:12 -0400 Received: by gxk9 with SMTP id 9so43452gxk.8 for ; Sat, 24 Apr 2010 23:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=WvgaGH9oyknice4JpF2MHnAr9qUa1sLDNHNWnwJgKqU=; b=E301eOw6/a4LgjhANLkz6LdLB7QQ4xD7dIsUGs5ThjtmjU1ctU8UjqfUC0Nw6pPzYq hhPCFuOJvJ4Q13/9bOLEgKF1ANiw2r5hoyWrx5Lro4hUbl0rdZvGzbmoedKw/Qsk7UL/ k3KKU3JplRAwdq1DfIplx6vU7RXw5RUqmLRro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VFsadXElckPAP7KhMfBQQwRaVLD+n89YeRHqP8IeiG12sMan+3yhdrmXfnbU99ynRL 1PXrv0w4M9e0K/1WZakqt2GZORfu3aQkqrJ/1sxQ8app/1UfS1dOrn4dQWZQgE6rG28P 6a2nncsugQGQ4SyBP+G2Kn0ZXSpUVt2tCP4Gw= MIME-Version: 1.0 Received: by 10.101.211.36 with SMTP id n36mr2974508anq.120.1272178631578; Sat, 24 Apr 2010 23:57:11 -0700 (PDT) Received: by 10.100.194.7 with HTTP; Sat, 24 Apr 2010 23:57:11 -0700 (PDT) Date: Sun, 25 Apr 2010 14:57:11 +0800 Message-ID: Subject: [PATCH 2/2] tm6000 : Fix filling up of buffer for video frame From: Bee Hock Goh To: LMML 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]); Sun, 25 Apr 2010 06:57:26 +0000 (UTC) diff --git a/drivers/staging/tm6000/tm6000-video.c b/drivers/staging/tm6000/tm6000-video.c index c53de47..50b12ac 100644 --- a/drivers/staging/tm6000/tm6000-video.c +++ b/drivers/staging/tm6000/tm6000-video.c @@ -133,7 +133,7 @@ static inline void get_next_buf(struct tm6000_dmaqueue *dma_q, struct tm6000_buffer **buf) { struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); - char *outp; +// char *outp; if (list_empty(&dma_q->active)) {