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@gmail.com>
This commit is contained in:
Scott Roberts 2020-05-20 13:28:39 -06:00 committed by Hauke Mehrtens
parent c856f7adfb
commit dd13add3ce
1 changed files with 0 additions and 1 deletions

View File

@ -210,7 +210,6 @@ $(eval $(call KernelPackage,i2c-piix4))
I2C_PXA_MODULES:= \ I2C_PXA_MODULES:= \
CONFIG_I2C_PXA_SLAVE=y \
CONFIG_I2C_PXA:drivers/i2c/busses/i2c-pxa CONFIG_I2C_PXA:drivers/i2c/busses/i2c-pxa
define KernelPackage/i2c-pxa define KernelPackage/i2c-pxa