-
- Downloads
[PATCH] i2c-parport: Make type parameter mandatory
This patch forces the user to specify what type of adapter is present when loading i2c-parport or i2c-parport-light. If none is specified, the driver init simply fails - instead of assuming adapter type 0. This alleviates the sometimes lengthy boot time delays which can be caused by accidentally building one of these into a kernel along with several i2c slave drivers that have lengthy probe routines (e.g. hwmon drivers). Kconfig and documentation updated accordingly. Signed-off-by:Mark M. Hoffman <mhoffman@lightlink.com> Signed-off-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- Documentation/i2c/busses/i2c-parport 10 additions, 6 deletionsDocumentation/i2c/busses/i2c-parport
- drivers/i2c/busses/Kconfig 4 additions, 1 deletiondrivers/i2c/busses/Kconfig
- drivers/i2c/busses/i2c-parport-light.c 7 additions, 2 deletionsdrivers/i2c/busses/i2c-parport-light.c
- drivers/i2c/busses/i2c-parport.c 7 additions, 2 deletionsdrivers/i2c/busses/i2c-parport.c
- drivers/i2c/busses/i2c-parport.h 1 addition, 1 deletiondrivers/i2c/busses/i2c-parport.h
Loading
Please register or sign in to comment