From patchwork Tue Dec 7 01:41:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jammy Huang X-Patchwork-Id: 12660763 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 869FEC433FE for ; Tue, 7 Dec 2021 01:42:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234145AbhLGBqL (ORCPT ); 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 ); 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 To: , , , , , , , , 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 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: X-Mailing-List: linux-media@vger.kernel.org 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(-)