fsi: core: Reduce console output during normal scan
PATCH 1/1 fsi: core: Reduce console output during normal scan
To reduce amount of console output during boot / power up make all good path scan related messages debug type.
Signed-off-by Christopher Bostic <[email protected]>
--- drivers/fsi/fsi-core.c | 4 ++-- drivers/fsi/fsi-master-hub.c | 2 +- drivers/fsi/fsi-sbefifo.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
drivers/fsi/fsi-core.c +2 -2
@@ -450,7 +450,7 @@ static int fsi_slave_scan(struct fsi_slave *slave) dev->addr = engine_addr; dev->size = slots * engine_page_size; -dev_info (&slave->dev, +dev_dbg (&slave->dev,"engine[%i]: type %x, version %x, addr %x size %x\n" , dev->unit, dev->engine_type, version, dev->addr, dev->size);
@@ -690,7 +690,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);
drivers/fsi/fsi-master-hub.c +1 -1
@@ -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);
drivers/fsi/fsi-sbefifo.c +1 -1
@@ -802,7 +802,7 @@ static int sbefifo_probe(struct device *dev)u32 sts;int ret, child_idx =0 ; -dev_info (dev,"Found sbefifo device\n" ); +dev_dbg (dev,"Found sbefifo device\n" ); sbefifo =kzalloc (sizeof (*sbefifo),GFP_KERNEL );if (!sbefifo)return -ENOMEM ;
Signature · 1 line
1.8.2.2
Hi Chris,
Quoted 2 lines
To reduce amount of console output during boot / power up make all good path scan related messages debug type.
You beat me (and probably Joel too) to it :)
Acked-by Jeremy Kerr <[email protected]>
Cheers,
Jeremy
Quoted 8 lines · Jeremy Kerr
Hi Chris,
Quoted 2 lines
To reduce amount of console output during boot / power up make all good path scan related messages debug type.
You beat me (and probably Joel too) to it :)
Acked-by Jeremy Kerr <[email protected]>
Woot! Applied to dev-4.10.
Cheers,
Joel