mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 18:40:10 +00:00
w1: Disable kernel log spam
See: https://forums.raspberrypi.com/viewtopic.php?p=2159344 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
This commit is contained in:
@@ -733,8 +733,10 @@ int w1_attach_slave_device(struct w1_master *dev, struct w1_reg_num *rn)
|
|||||||
atomic_set(&sl->refcnt, 1);
|
atomic_set(&sl->refcnt, 1);
|
||||||
atomic_inc(&sl->master->refcnt);
|
atomic_inc(&sl->master->refcnt);
|
||||||
dev->slave_count++;
|
dev->slave_count++;
|
||||||
|
#if 0
|
||||||
dev_info(&dev->dev, "Attaching one wire slave %02x.%012llx crc %02x\n",
|
dev_info(&dev->dev, "Attaching one wire slave %02x.%012llx crc %02x\n",
|
||||||
rn->family, (unsigned long long)rn->id, rn->crc);
|
rn->family, (unsigned long long)rn->id, rn->crc);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* slave modules need to be loaded in a context with unlocked mutex */
|
/* slave modules need to be loaded in a context with unlocked mutex */
|
||||||
mutex_unlock(&dev->mutex);
|
mutex_unlock(&dev->mutex);
|
||||||
|
|||||||
Reference in New Issue
Block a user