mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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 <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
5c2baab92c
commit
af21659ee8
+1
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user