From patchwork Fri Dec 10 08:22:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tzung-Bi Shih X-Patchwork-Id: 12695578 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 67AE2C433FE for ; Fri, 10 Dec 2021 08:24:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Mime-Version: Message-Id:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=T+5VSKoCWvUBHrFR9FFesR9As708vBXi3VVtIgjBCt4=; b=oR6 L77GnrOn8eioA59sWssK8XSJq2UeXo4r4yDVAM7QJGyGEdz8cCApm8KDOuss7QX9IK+a1n8/FKZrY 6SxlfgGoJtOpgDHnGziEFT6RY9bgWeNhqIinRTiCykezvvMRRcJ2p5tqQEtzmSQuMzYvGeCQcCxco zreTsP8vcVY0V+4bG2taYAI7pVtxyT9SnC7jvIkQ65hk/XUhuQY2wCJ34ilrkYbZH4CM+kBBRzyAe uHoJRLy2TOdVMRUCqqD1YwNGirpWzAo334G0vcD0nqwy+7l4/wJcGJ1PYm0XrbXI8GNbYXWlxjdqs ja9+zFJYpyIVXGlS9rcl5dsWB94P7EQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvbBb-001BRh-PR; Fri, 10 Dec 2021 08:23:23 +0000 Received: from mail-yb1-xb4a.google.com ([2607:f8b0:4864:20::b4a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvbBX-001BOD-8R for linux-arm-kernel@lists.infradead.org; Fri, 10 Dec 2021 08:23:20 +0000 Received: by mail-yb1-xb4a.google.com with SMTP id t24-20020a252d18000000b005c225ae9e16so15410007ybt.15 for ; Fri, 10 Dec 2021 00:23:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=m5w0obK8XpECrHwe6XhlaqtvTKCo56VwLWe/17hHP5w=; b=W2QIjE051FGvUPlbVzwu8+TDwsJbys+QyI7+4v6rmg6eVwix7RJ16f3U2l9pmWuwQ2 aEZGD0N+3hRv0WHx/zbKkXAE+xye/J2o4/rn9q+EH/6Oa57nmqY68aLpHFMwdX6tfQd6 m8iEusC9qG2WeaDl6u8Rz7IXkZOlOfig5fXMe8EDDXpTBpKi/lFokdIEDrZEMk50kkB+ MyzSqWF4zYYMrY05e5P3bVwQ+8PSQdK6pSVGqg3hPRGB7b9flBvLMxa9eMzjQUAc3ICm Cki1vxFHUgVBtrB9GNZM+AAYeRJfM098gY/qmM0OzQpf4+OR/KcgIFCAHIEf98ufnbxc 2jxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=m5w0obK8XpECrHwe6XhlaqtvTKCo56VwLWe/17hHP5w=; b=nsosXBMp8OiLBdUCZfSj4WWr6aRdUPvy+Fb6PNuXzdV6XZIiIcB7AHrvJXbMjXKEs3 PX4ZTb4hIphjFZ2apdrHAyJI9lCbTmKjdoRK/RCHvrcJJoyqLOTIyOl0s+hPpqqKZgHh 1Fmdgk5knIstPIdan3KU4RGBloq5biJ/tB60hFZ2+FVhW1qA083ZRgGFUXXmSY02a5/Z 4j3U+gDKneNrDlj9DomQO1KlxNmp4hUKirPTqxW7V5CDWCVzpqHAaSqKiLKuBtJhMSTV IUS3KEVPh5Z01CiyA4Bx3Nl7/PnKydeJt83yGd4YCG6zCart/xijMWfjzo8glLrwQsdn xEtA== X-Gm-Message-State: AOAM532r1wJPyLYRstYbYlxHhGa43oNgRizfyV13/O7gp/KbgdbdRHkW 2AUUIfpOig5uAECZNlyjh54Y6rHMSe/O X-Google-Smtp-Source: ABdhPJyhHAlYo0oWl5X+SXK54pI4d0XJ6M2S1VMZI3ZARevg8tX4lMUeQSC9jKmmfqK3xCmTy0NfgUpKe9pS X-Received: from tzungbi-z840.tpe.corp.google.com ([2401:fa00:1:10:7fdb:7edf:3c09:a8eb]) (user=tzungbi job=sendgmr) by 2002:a25:ade0:: with SMTP id d32mr12483108ybe.510.1639124595078; Fri, 10 Dec 2021 00:23:15 -0800 (PST) Date: Fri, 10 Dec 2021 16:22:47 +0800 Message-Id: <20211210082247.977043-1-tzungbi@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.34.1.173.g76aa8bc2d0-goog Subject: [PATCH] mt76: mt7921: reduce log severity levels for informative messages From: Tzung-Bi Shih To: nbd@nbd.name, lorenzo.bianconi83@gmail.com, ryder.lee@mediatek.com, kvalo@codeaurora.org Cc: shayne.chen@mediatek.com, sean.wang@mediatek.com, linux-wireless@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, tzungbi@google.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211210_002319_322931_97D47B3D X-CRM114-Status: GOOD ( 11.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org "ASIC revision" and "Firmware init done" shouldn't be error messages. Reduces the severity level to info. Signed-off-by: Tzung-Bi Shih --- drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7921/pci.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7921/mcu.c index 6ada1ebe7d68..99b144fd8db5 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7921/mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt7921/mcu.c @@ -882,7 +882,7 @@ static int mt7921_load_firmware(struct mt7921_dev *dev) dev->mt76.hw->wiphy->wowlan = &mt76_connac_wowlan_support; #endif /* CONFIG_PM */ - dev_err(dev->mt76.dev, "Firmware init done\n"); + dev_info(dev->mt76.dev, "Firmware init done\n"); return 0; } diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/pci.c b/drivers/net/wireless/mediatek/mt76/mt7921/pci.c index 305b63fa1a8a..8c53e376aa4e 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7921/pci.c +++ b/drivers/net/wireless/mediatek/mt76/mt7921/pci.c @@ -188,7 +188,7 @@ static int mt7921_pci_probe(struct pci_dev *pdev, tasklet_init(&dev->irq_tasklet, mt7921_irq_tasklet, (unsigned long)dev); mdev->rev = (mt7921_l1_rr(dev, MT_HW_CHIPID) << 16) | (mt7921_l1_rr(dev, MT_HW_REV) & 0xff); - dev_err(mdev->dev, "ASIC revision: %04x\n", mdev->rev); + dev_info(mdev->dev, "ASIC revision: %04x\n", mdev->rev); mt76_wr(dev, MT_WFDMA0_HOST_INT_ENA, 0);