From patchwork Fri May 7 10:26:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 432436 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2F8DC433ED for ; Fri, 7 May 2021 10:26:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A12A861456 for ; Fri, 7 May 2021 10:26:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236170AbhEGK1P (ORCPT ); Fri, 7 May 2021 06:27:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:47658 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234400AbhEGK1O (ORCPT ); Fri, 7 May 2021 06:27:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6BB366145D; Fri, 7 May 2021 10:26:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620383175; bh=Mbw+8owFLWs4xmIu7qzgT/jhkef9dYDarAtMd5JrW2o=; h=From:To:Cc:Subject:Date:From; b=oLRToiZB59kqEV3KXpAoHLDzhQdy2cuRcUX+3GGLX4jqjBWTF/2sv5My4xZu7eTgw hoX0BzZRdcGB/pWIdZdDUuTQ/hK2gwnEIe8NpuQ9rYzvYxzfwJr6uDpRHRbc0N3zDI okXJIwgRhGUTULgKzOiSzldWAmLiawa7KOYab6T+7TT4HEqh2pg/O/4KeBnZgkvXEE 8GGfUC6Fc2kfgoLEXPBbgrfCepGes+Wej6PdS5tZL6lWzwm9rihvcgnhBErP8SAP01 qF9QddZ+N4mz66H9dVhm+jmAeOXOl5VgZrAwOCqN3RFbLWIqxXFquMEmLSql7K2Mrx GyYkYfTMe7law== From: Lorenzo Bianconi To: nbd@nbd.name Cc: linux-wireless@vger.kernel.org, lorenzo.bianconi@redhat.com Subject: [PATCH] mt76: mt76x0: use dev_debug instead of dev_err for hw_rf_ctrl Date: Fri, 7 May 2021 12:26:11 +0200 Message-Id: <8b311203e353d7415c4cff568201309fcb3b48e6.1620382900.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org BIT(0) in MT_EE_NIC_CONF_1 is use to notify the driver if the radio RF switch is controlled through a gpio. Use dev_debug instead of dev_err to log this info. Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c b/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c index dd66fd12a2e6..cea24213186c 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c @@ -68,7 +68,7 @@ static void mt76x0_set_chip_cap(struct mt76x02_dev *dev) nic_conf1 &= 0xff00; if (nic_conf1 & MT_EE_NIC_CONF_1_HW_RF_CTRL) - dev_err(dev->mt76.dev, + dev_dbg(dev->mt76.dev, "driver does not support HW RF ctrl\n"); if (!mt76x02_field_valid(nic_conf0 >> 8))