[openwrt/openwrt] kernel: modules: fix mlxreg dependency to avoid deferred probe
LEDE Commits
lede-commits at lists.infradead.org
Fri Oct 3 01:50:05 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/71e057bac07c2875bb907dff904e6d492cf69523
commit 71e057bac07c2875bb907dff904e6d492cf69523
Author: Til Kaiser <mail at tk154.de>
AuthorDate: Thu Oct 2 15:01:35 2025 +0200
kernel: modules: fix mlxreg dependency to avoid deferred probe
The mlxreg-hotplug platform driver was failing to probe due to a missing
I²C multiplexer dependency. Previously, only kmod-i2c-mux-mlxcpld was
declared, but mlxreg also requires kmod-i2c-mux-reg to initialize its
I²C mux functionality.
Without this dependency, the driver probe was deferred:
[ 24.902331] platform mlxreg-hotplug: deferred probe pending: (reason unknown)
With kmod-i2c-mux-reg added, the probe succeeds and the expected
multiplexed I²C buses are registered:
[ 15.793884] i2c i2c-1: Added multiplexed i2c bus 2
[ 15.799391] i2c i2c-1: Added multiplexed i2c bus 3
[ 15.804830] i2c i2c-1: Added multiplexed i2c bus 4
...
Signed-off-by: Til Kaiser <mail at tk154.de>
Link: https://github.com/openwrt/openwrt/pull/20274
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
package/kernel/linux/modules/other.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 91ace8d428..369d50252b 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -155,7 +155,9 @@ $(eval $(call KernelPackage,mlx_wdt))
define KernelPackage/mlxreg
SUBMENU:=$(OTHER_MENU)
TITLE:=Mellanox platform register access
- DEPENDS:=@TARGET_x86 +kmod-i2c-mux-mlxcpld
+ DEPENDS:=@TARGET_x86 \
+ +kmod-i2c-mux-mlxcpld \
+ +kmod-i2c-mux-reg
KCONFIG:= \
CONFIG_MELLANOX_PLATFORM=y \
CONFIG_MLX_PLATFORM \
More information about the lede-commits
mailing list