From patchwork Tue May 30 06:54:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hirokazu Honda X-Patchwork-Id: 9753913 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3249760390 for ; Tue, 30 May 2017 06:54:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2594026E39 for ; Tue, 30 May 2017 06:54:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1AE6C27F7F; Tue, 30 May 2017 06:54:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_SPAM autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA36A274B4 for ; Tue, 30 May 2017 06:54:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750871AbdE3Gyr (ORCPT ); Tue, 30 May 2017 02:54:47 -0400 Received: from mail-pf0-f174.google.com ([209.85.192.174]:35162 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750767AbdE3Gyq (ORCPT ); Tue, 30 May 2017 02:54:46 -0400 Received: by mail-pf0-f174.google.com with SMTP id n23so63602691pfb.2 for ; Mon, 29 May 2017 23:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=J3tubuEX8YdaJRLO38BsZGFTaMJcDdeCCksRIAoUHSo=; b=ZLOexYiNM7NdKdrY/OdyyCBV3jFTF7ypxvHXZ137TovZGUE9G4gveQ/YRDv5O2NvqU dnx1RGLUKIzA8Ibo4Lrk9igaOpKHlUHej1y32lERpxCyDqSyBsmFzOTfKj2OfysnziTO BCioCKtYpJfeozLBmXsj2DAsjdRS962xeT/jE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=J3tubuEX8YdaJRLO38BsZGFTaMJcDdeCCksRIAoUHSo=; b=j2bhWU7OZu4pBoD3iko7JNzOdT4/JvK1t+zSpfF2GosssHBFgOWx/WxhUx9BZeaIP0 7+TgUFhag5m7b8zSk2IQelDUnwYm0HZ835vUjbRGo2TCcb5Jukk34aoFCiGn59yTWkKp Z1y1ab7cdg51P2ySEL+n40xv6aaQy5ZkBfzoVFk5ji+F7ZKfMx61wdD9j/axH6zHw6Aj Irpa9Vtr9KpFKBzMNiKTkvABQ77oTk8Q4HmG5uQGipC2H/XBfB6W81Gd/hcLadgSXFjV V19gAC20pkQjtTC3JiZaDeAa13tb5samfxm7D0anmbK99ZWFOC2yrGA7wKiRJTweZqMB az7A== X-Gm-Message-State: AODbwcAXTNRrLYbjuDItELwjV88BT+mqZvw2jo3WCROCIbCrzUYaNaA/ sgbGQOP8GqM7KnKz X-Received: by 10.99.111.201 with SMTP id k192mr2611383pgc.192.1496127285470; Mon, 29 May 2017 23:54:45 -0700 (PDT) Received: from hiroh.tok.corp.google.com ([100.103.2.121]) by smtp.gmail.com with ESMTPSA id f86sm20384573pfj.128.2017.05.29.23.54.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 May 2017 23:54:44 -0700 (PDT) From: Hirokazu Honda To: Pawel Osciak , Marek Szyprowski , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Hirokazu Honda Subject: [PATCH] Lower the log level of debug outputs Date: Tue, 30 May 2017 15:54:37 +0900 Message-Id: <20170530065437.65828-1-hiroh@chromium.org> X-Mailer: git-send-email 2.13.0.219.gdb65acc882-goog Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some debug output whose log level is set 1 flooded the log. Their log level is lowered to find the important log easily. Signed-off-by: Hirokazu Honda Acked-by: Alexandre Courbot --- drivers/media/v4l2-core/videobuf2-core.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/media/v4l2-core/videobuf2-core.c b/drivers/media/v4l2-core/videobuf2-core.c index 94afbbf92807..25257f92bbcf 100644 --- a/drivers/media/v4l2-core/videobuf2-core.c +++ b/drivers/media/v4l2-core/videobuf2-core.c @@ -1139,7 +1139,7 @@ static int __qbuf_dmabuf(struct vb2_buffer *vb, const void *pb) continue; } - dprintk(1, "buffer for plane %d changed\n", plane); + dprintk(3, "buffer for plane %d changed\n", plane); if (!reacquired) { reacquired = true; @@ -1294,7 +1294,7 @@ int vb2_core_prepare_buf(struct vb2_queue *q, unsigned int index, void *pb) /* Fill buffer information for the userspace */ call_void_bufop(q, fill_user_buffer, vb, pb); - dprintk(1, "prepare of buffer %d succeeded\n", vb->index); + dprintk(2, "prepare of buffer %d succeeded\n", vb->index); return ret; } @@ -1424,7 +1424,7 @@ int vb2_core_qbuf(struct vb2_queue *q, unsigned int index, void *pb) return ret; } - dprintk(1, "qbuf of buffer %d succeeded\n", vb->index); + dprintk(2, "qbuf of buffer %d succeeded\n", vb->index); return 0; } EXPORT_SYMBOL_GPL(vb2_core_qbuf); @@ -1472,7 +1472,7 @@ static int __vb2_wait_for_done_vb(struct vb2_queue *q, int nonblocking) } if (nonblocking) { - dprintk(1, "nonblocking and no buffers to dequeue, will not wait\n"); + dprintk(3, "nonblocking and no buffers to dequeue, will not wait\n"); return -EAGAIN; } @@ -1619,7 +1619,7 @@ int vb2_core_dqbuf(struct vb2_queue *q, unsigned int *pindex, void *pb, /* go back to dequeued state */ __vb2_dqbuf(vb); - dprintk(1, "dqbuf of buffer %d, with state %d\n", + dprintk(2, "dqbuf of buffer %d, with state %d\n", vb->index, vb->state); return 0;