0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-22 04:56:15 +00:00
openwrt/target/linux/bcm27xx/patches-6.6/950-0728-w1-Disable-kernel-log-spam.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.34..rpi-6.1.y

Some patches needed rebasing and, as usual, the applied and reverted, wireless
drivers, Github workflows, READMEs and defconfigs patches were removed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-18 18:52:49 +02:00

26 lines
820 B
Diff

From af823df47f13c9b2209a9af42325935a45b8f5dc Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Mon, 20 Nov 2023 14:46:14 +0000
Subject: [PATCH 0728/1085] 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);