1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00
openmptcprouter/6.12/target/linux/bcm27xx/patches-6.12/950-0402-w1-Disable-kernel-log-spam.patch
Ycarus (Yannick Chabanois) bdb9b0046f Add bcm27xx 6.12 test support
2024-12-20 14:17:26 +01:00

25 lines
818 B
Diff

From 6b94344a2d0aee86a30cd9b44b977d295b6d439b Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Mon, 20 Nov 2023 14:46:14 +0000
Subject: [PATCH 402/697] w1: Disable kernel log spam
See: https://forums.raspberrypi.com/viewtopic.php?p=2159344
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
drivers/w1/w1.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/w1/w1.c
+++ b/drivers/w1/w1.c
@@ -733,8 +733,10 @@ int w1_attach_slave_device(struct w1_mas
atomic_set(&sl->refcnt, 1);
atomic_inc(&sl->master->refcnt);
dev->slave_count++;
+#if 0
dev_info(&dev->dev, "Attaching one wire slave %02x.%012llx crc %02x\n",
rn->family, (unsigned long long)rn->id, rn->crc);
+#endif
/* slave modules need to be loaded in a context with unlocked mutex */
mutex_unlock(&dev->mutex);