firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-drivers_w1_w1.c.patch

13 lines
424 B
Diff

diff -drupN a/drivers/w1/w1.c b/drivers/w1/w1.c
--- a/drivers/w1/w1.c 2018-08-06 17:23:04.000000000 +0300
+++ b/drivers/w1/w1.c 2022-06-12 05:28:14.000000000 +0300
@@ -47,7 +47,7 @@ MODULE_DESCRIPTION("Driver for 1-wire Da
static int w1_timeout = 10;
static int w1_timeout_us = 0;
-int w1_max_slave_count = 64;
+int w1_max_slave_count = 1;
int w1_max_slave_ttl = 10;
module_param_named(timeout, w1_timeout, int, 0);