From patchwork Mon May 9 19:54:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Ringel X-Patchwork-Id: 770692 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p49JsOJp019362 for ; Mon, 9 May 2011 19:54:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754599Ab1EITyX (ORCPT ); Mon, 9 May 2011 15:54:23 -0400 Received: from mail-in-01.arcor-online.net ([151.189.21.41]:47994 "EHLO mail-in-01.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754546Ab1EITyQ (ORCPT ); Mon, 9 May 2011 15:54:16 -0400 Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [151.189.8.16]) by mx.arcor.de (Postfix) with ESMTP id 687455A2F2; Mon, 9 May 2011 21:54:15 +0200 (CEST) Received: from mail-in-14.arcor-online.net (mail-in-14.arcor-online.net [151.189.21.54]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id 5E9551F91F6; Mon, 9 May 2011 21:54:15 +0200 (CEST) Received: from localhost.localdomain (dslb-178-000-053-073.pools.arcor-ip.net [178.0.53.73]) (Authenticated sender: stefan.ringel@arcor.de) by mail-in-14.arcor-online.net (Postfix) with ESMTPA id 1668E9C13C; Mon, 9 May 2011 21:54:15 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net 1668E9C13C DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1304970855; bh=2f8u1wOI7KrpM8v2b3BZTgpXS0t3IXIcHInQPwAe/Yg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=PWys3hIAfF9Ou2GS1gp78vvI+lRxGKlOF0e0+vNXLVuTNUlc37caz/edU6xW/B7Fn 6y+N8x36r5T3l+km99u5l83KyqrFksXIycFiGGR4zxKIl9/5xohj3x6tmqdlLxgl8q LMJZF5sTD8qyZXZqjEEu1I6C/unN4vf/Zd1HrpWY= From: stefan.ringel@arcor.de To: linux-media@vger.kernel.org Cc: mchehab@redhat.com, d.belimov@gmail.com, Stefan Ringel Subject: [PATCH 14/16] tm6000: add pts logging Date: Mon, 9 May 2011 21:54:02 +0200 Message-Id: <1304970844-20955-14-git-send-email-stefan.ringel@arcor.de> X-Mailer: git-send-email 1.7.4.2 In-Reply-To: <1304970844-20955-1-git-send-email-stefan.ringel@arcor.de> References: <1304970844-20955-1-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.6 (demeter1.kernel.org [140.211.167.41]); Mon, 09 May 2011 19:54:25 +0000 (UTC) From: Stefan Ringel add pts logging Signed-off-by: Stefan Ringel --- drivers/staging/tm6000/tm6000-video.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/staging/tm6000/tm6000-video.c b/drivers/staging/tm6000/tm6000-video.c index 2d83204..4802396 100644 --- a/drivers/staging/tm6000/tm6000-video.c +++ b/drivers/staging/tm6000/tm6000-video.c @@ -355,10 +355,14 @@ static int copy_streams(u8 *data, unsigned long len, case TM6000_URB_MSG_VBI: /* Need some code to copy vbi buffer */ break; - case TM6000_URB_MSG_PTS: + case TM6000_URB_MSG_PTS: { /* Need some code to copy pts */ + u32 pts; + pts = *(u32 *)ptr; + printk(KERN_INFO "%s: field %d, PTS %x", dev->name, field, pts); break; } + } } if (ptr + pktsize > endp) { /* End of URB packet, but cmd processing is not