mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x0: print BBP version only for debug
Use dev_dbg to print BBP version. Signed-off-by: Stanislaw Gruszka <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
96fa353e79
commit
c50dca8142
+1
-1
@@ -186,7 +186,6 @@ int mt76x0_wait_bbp_ready(struct mt76x02_dev *dev)
|
||||
|
||||
do {
|
||||
val = mt76_rr(dev, MT_BBP(CORE, 0));
|
||||
printk("BBP version %08x\n", val);
|
||||
if (val && ~val)
|
||||
break;
|
||||
} while (--i);
|
||||
@@ -196,6 +195,7 @@ int mt76x0_wait_bbp_ready(struct mt76x02_dev *dev)
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
dev_dbg(dev->mt76.dev, "BBP version %08x\n", val);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user