From: Scott Roberts Date: Wed, 20 May 2020 19:28:39 +0000 (-0600) Subject: kernel: i2c-pxa: remove slave X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dd13add3ceed9056b0b3cce182241ba553ed07cb;p=openwrt%2Fstaging%2Fthess.git 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 --- 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