[0/2] Use v4l2_info/v4l2_warn/v4l2_dbg for log
Message ID | 20211207014147.226-1-jammy_huang@aspeedtech.com (mailing list archive) |
---|---|
Headers |
Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from <linux-media-owner@vger.kernel.org>) id 1muPVI-009rIW-4q; Tue, 07 Dec 2021 01:42:48 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234145AbhLGBqL (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Mon, 6 Dec 2021 20:46:11 -0500 Received: from twspam01.aspeedtech.com ([211.20.114.71]:38988 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229643AbhLGBqK (ORCPT <rfc822;linux-media@vger.kernel.org>); Mon, 6 Dec 2021 20:46:10 -0500 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 1B71GubU058439; Tue, 7 Dec 2021 09:16:56 +0800 (GMT-8) (envelope-from jammy_huang@aspeedtech.com) Received: from JammyHuang-PC.aspeed.com (192.168.2.115) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 7 Dec 2021 09:41:50 +0800 From: Jammy Huang <jammy_huang@aspeedtech.com> To: <eajames@linux.ibm.com>, <mchehab@kernel.org>, <joel@jms.id.au>, <andrew@aj.id.au>, <linux-media@vger.kernel.org>, <openbmc@lists.ozlabs.org>, <linux-arm-kernel@lists.infradead.org>, <linux-aspeed@lists.ozlabs.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH 0/2] Use v4l2_info/v4l2_warn/v4l2_dbg for log Date: Tue, 7 Dec 2021 09:41:45 +0800 Message-ID: <20211207014147.226-1-jammy_huang@aspeedtech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.2.115] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 1B71GubU058439 Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.4 (--) X-LSpam-Report: No, score=-2.4 required=5.0 tests=BAYES_00=-1.9,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no |
Message
Jammy Huang
Dec. 7, 2021, 1:41 a.m. UTC
In this seris, v4l2_xxx log macro will be adapted. With v4l2_dbg, the debug level can be set with the module parameter called debug. In this way, we won't have to see all debug logs together. To many log could have bad influence on the rate to reproduce some issues as well. Some logs are added, and more is coming for aspeed-format. Jammy Huang (2): media: aspeed: use v4l2_info/v4l2_warn/v4l2_dbg for log media: aspeed: add more debug log messages drivers/media/platform/aspeed-video.c | 64 ++++++++++++++++++++------- 1 file changed, 47 insertions(+), 17 deletions(-)