]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
mt76x0: print BBP version only for debug
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 4 Oct 2018 10:04:51 +0000 (12:04 +0200)
committerFelix 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

index 4850a2db18d7e3ebb89cd9edd83df958ecf6e49f..f8666b42f657023d0f45d6abdfa5dde1b4b3f242 100644 (file)
@@ -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;
 }