Skip to contentSkip to conversation

media: ipu6: Print CSR messages using debug level

PATCH RESEND New Sakari Ailus 1 participant 1 message May 23, 2024

Subsystems (2)
lore
Share & tools
lore

Sakari Ailus

author maintainer
#0 lore raw

PATCH RESEND 1/1 media: ipu6: Print CSR messages using debug level

It's entirely normal CSR will return non-indicative values after its reset (0). There's no need to warn the user about that.

---
 drivers/media/pci/intel/ipu6/ipu6-buttress.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/media/pci/intel/ipu6/ipu6-buttress.c +2 -2
index 23c537e7ce1e..e47f84c30e10 100644
@@ -163,8 +163,8 @@ int ipu6_buttress_ipc_reset(struct ipu6_device *isp,
 			writel(ENTRY, isp->base + ipc->csr_out);
 			break;
 		default:
-			dev_warn_ratelimited(&isp->pdev->dev,
-					     "Unexpected CSR 0x%x\n", val);
+			dev_dbg_ratelimited(&isp->pdev->dev,
+					    "Unexpected CSR 0x%x\n", val);
 			break;
 		}
 	} while (retries--);

base-commit: 8771b7f31b7fff91a998e6afdb60650d4bac59a5

Signature · 1 line
2.39.2