Skip to contentSkip to conversation

fsi: core: Remove more spam FSI prints to console

PATCH Applied Christopher Bostic 2 participants 2 messages Sep 7, 2017 – Sep 12, 2017 FSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fsi: core: Remove more spam FSI prints to console

Move the most noisy fsi prints to dev_dbg() to unclutter the console output.

Example:

[  484.610000]  slave@00:00: status: 0x84000500, sisc: 0x00040108
[  484.610000]  fsi1: can't read slave 00:00 -5
---
 drivers/fsi/fsi-core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/fsi/fsi-core.c +2 -2
index 0f19bd3..8a17176 100644
@@ -214,7 +214,7 @@ 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 */
@@ -677,7 +677,7 @@ static int fsi_slave_init(struct fsi_master *master, int link, uint8_t id)
 
 	rc = fsi_master_read(master, link, id, 0, &chip_id, sizeof(chip_id));
 	if (rc) {
-		dev_warn(&master->dev, "can't read slave %02x:%02x %d\n",
+		dev_dbg(&master->dev, "can't read slave %02x:%02x %d\n",
 				link, id, rc);
 		return -ENODEV;
 	}
Signature · 1 line
1.8.2.2
Applied
#1 lore raw
Quoted 8 lines · Christopher Bostic

Move the most noisy fsi prints to dev_dbg() to unclutter the console output.

Example:

[  484.610000]  slave@00:00: status: 0x84000500, sisc: 0x00040108
[  484.610000]  fsi1: can't read slave 00:00 -5

This appears to be the last of the dev_info's in the core. Good work.

Applied to dev-4.10.

Cheers,

Joel