mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
mt76x0: print BBP version only for debug
Use dev_dbg to print BBP version. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
c894696188
commit
bed259051d
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user