[PATCH v2 1/2] mt76: mt7921: reduce log severity levels for informative messages

sean.wang at mediatek.com sean.wang at mediatek.com
Sun Jun 26 16:27:05 PDT 2022


From: Sean Wang <sean.wang at mediatek.com>

Use dev_dbg instead for the diagnostic messages.

Signed-off-by: Sean Wang <sean.wang at mediatek.com>
---
v2: use dev_dbg instead
---
 drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/mac.c b/drivers/net/wireless/mediatek/mt76/mt7921/mac.c
index eb1bfb682e02..3ea7d8f43118 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7921/mac.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7921/mac.c
@@ -740,7 +740,7 @@ void mt7921_mac_reset_work(struct work_struct *work)
 	struct mt76_connac_pm *pm = &dev->pm;
 	int i;
 
-	dev_err(dev->mt76.dev, "chip reset\n");
+	dev_dbg(dev->mt76.dev, "chip reset\n");
 	dev->hw_full_reset = true;
 	ieee80211_stop_queues(hw);
 
-- 
2.25.1




More information about the Linux-mediatek mailing list