projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c894696
)
mt76x0: print BBP version only for debug
author
Stanislaw Gruszka
<sgruszka@redhat.com>
Thu, 4 Oct 2018 10:04:51 +0000
(12:04 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Sat, 13 Oct 2018 15:39:09 +0000
(17:39 +0200)
Use dev_dbg to print BBP version.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
b/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
index
4850a2d
..
f8666b4
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
@@
-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;
}