Skip to content

Commit

Permalink
mt76x0: print BBP version only for debug
Browse files Browse the repository at this point in the history
Use dev_dbg to print BBP version.

Signed-off-by: Stanislaw Gruszka <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
Stanislaw Gruszka authored and nbd168 committed Oct 8, 2018
1 parent 96fa353 commit c50dca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mt76x0/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
}

Expand Down

0 comments on commit c50dca8

Please sign in to comment.