projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2391bd
)
w1: Disable kernel log spam
author
Phil Elwell
<phil@raspberrypi.com>
Mon, 20 Nov 2023 14:46:14 +0000
(14:46 +0000)
committer
Dom Cobley
<popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:14 +0000
(11:35 +0000)
See: https://forums.raspberrypi.com/viewtopic.php?p=2159344
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/w1/w1.c
patch
|
blob
|
history
diff --git
a/drivers/w1/w1.c
b/drivers/w1/w1.c
index
5353cbd
..
a2d0669
100644
(file)
--- a/
drivers/w1/w1.c
+++ b/
drivers/w1/w1.c
@@
-733,8
+733,10
@@
int w1_attach_slave_device(struct w1_master *dev, struct w1_reg_num *rn)
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);