Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/mt76.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mt76x0
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2021-05-07 13:26:11 +0300
committerFelix Fietkau <nbd@nbd.name>2021-05-13 11:18:25 +0300
commitaf21659ee83438135c04cce8e7cd945234bb0c03 (patch)
tree9d0a8a10a1b7d9cf5a4bbaef696eaa426a2fbf59 /mt76x0
parent5c2baab92cd0a885db9373a318563ad48f49459e (diff)
mt76: mt76x0: use dev_debug instead of dev_err for hw_rf_ctrl
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 <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'mt76x0')
-rw-r--r--mt76x0/eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mt76x0/eeprom.c b/mt76x0/eeprom.c
index dd66fd12..cea24213 100644
--- a/mt76x0/eeprom.c
+++ b/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))