From dd13add3ceed9056b0b3cce182241ba553ed07cb Mon Sep 17 00:00:00 2001 From: Scott Roberts Date: Wed, 20 May 2020 13:28:39 -0600 Subject: [PATCH] kernel: i2c-pxa: remove slave Removing i2c pxa slave The i2c-pxa is typically not use in slave mode. It does not make sense to have slave mode enabled by default. Having slave mode enabled prevents the i2c controller from being reset if a real slave device such as an SFP is attached to the i2c-pxa bus and locks it up. Disable slave mode so that the i2c controller can be reset if the bus is locked up. If someone actually has a need for pxa slave mode this can be enabled in kernel config. Signed-off-by: Scott Roberts --- package/kernel/linux/modules/i2c.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/kernel/linux/modules/i2c.mk b/package/kernel/linux/modules/i2c.mk index 6690384a89..ca6463c81b 100644 --- a/package/kernel/linux/modules/i2c.mk +++ b/package/kernel/linux/modules/i2c.mk @@ -210,7 +210,6 @@ $(eval $(call KernelPackage,i2c-piix4)) I2C_PXA_MODULES:= \ - CONFIG_I2C_PXA_SLAVE=y \ CONFIG_I2C_PXA:drivers/i2c/busses/i2c-pxa define KernelPackage/i2c-pxa -- 2.30.2