[openwrt/openwrt] kernel: i2c-pxa: remove slave
LEDE Commits
lede-commits at lists.infradead.org
Fri Jun 26 18:19:30 EDT 2020
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/dd13add3ceed9056b0b3cce182241ba553ed07cb
commit dd13add3ceed9056b0b3cce182241ba553ed07cb
Author: Scott Roberts <ttocsr at gmail.com>
AuthorDate: Wed May 20 13:28:39 2020 -0600
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 <ttocsr at gmail.com>
---
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
More information about the lede-commits
mailing list