Procházet zdrojové kódy

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 <[email protected]>
Scott Roberts před 5 roky
rodič
revize
dd13add3ce
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      package/kernel/linux/modules/i2c.mk

+ 0 - 1
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