fsi: core: Reduce console output during normal scan
authorChristopher Bostic <cbostic@linux.vnet.ibm.com>
Mon, 12 Feb 2018 05:15:46 +0000 (15:45 +1030)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 18:11:01 +0000 (19:11 +0100)
To reduce amount of console output during boot / power up make
all normal path scan related messages debug type.

Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fsi/fsi-core.c
drivers/fsi/fsi-master-hub.c

index 1069cb4..8d8b258 100644 (file)
@@ -207,7 +207,7 @@ static int fsi_slave_report_and_clear_errors(struct fsi_slave *slave)
        if (rc)
                return rc;
 
-       dev_info(&slave->dev, "status: 0x%08x, sisc: 0x%08x\n",
+       dev_dbg(&slave->dev, "status: 0x%08x, sisc: 0x%08x\n",
                        be32_to_cpu(stat), be32_to_cpu(irq));
 
        /* clear interrupts */
@@ -687,7 +687,7 @@ static int fsi_slave_init(struct fsi_master *master, int link, uint8_t id)
                return -EIO;
        }
 
-       dev_info(&master->dev, "fsi: found chip %08x at %02x:%02x:%02x\n",
+       dev_dbg(&master->dev, "fsi: found chip %08x at %02x:%02x:%02x\n",
                        chip_id, master->idx, link, id);
 
        rc = fsi_slave_set_smode(master, link, id);
index 3223a67..5e4cd31 100644 (file)
@@ -254,7 +254,7 @@ static int hub_master_probe(struct device *dev)
 
        reg = be32_to_cpu(__reg);
        links = (reg >> 8) & 0xff;
-       dev_info(dev, "hub version %08x (%d links)\n", reg, links);
+       dev_dbg(dev, "hub version %08x (%d links)\n", reg, links);
 
        rc = fsi_slave_claim_range(fsi_dev->slave, FSI_HUB_LINK_OFFSET,
                        FSI_HUB_LINK_SIZE * links);