android_kernel_xiaomi_sm8350/drivers/i2c/busses
Jean Delvare 399d6b2653 i2c: Fix oops on bus multiplexer driver loading
The two I2C bus multiplexer drivers (i2c-amd756-s4882 and
i2c-nforce2-s4985) make use of the bus they want to multiplex before
checking if it is really present. Swap the instructions to test for
presence first. This fixes a oops reported by Ingo Molnar.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Ingo Molnar <mingo@elte.hu>
2008-08-10 22:56:15 +02:00
..
i2c-acorn.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
i2c-ali15x3.c i2c: Drop stray references to lm_sensors 2008-07-14 22:38:34 +02:00
i2c-ali1535.c i2c: Drop stray references to lm_sensors 2008-07-14 22:38:34 +02:00
i2c-ali1563.c i2c: Check for ACPI resource conflicts 2008-07-14 22:38:33 +02:00
i2c-amd756-s4882.c i2c: Fix oops on bus multiplexer driver loading 2008-08-10 22:56:15 +02:00
i2c-amd756.c i2c: Drop stray references to lm_sensors 2008-07-14 22:38:34 +02:00
i2c-amd8111.c i2c: Check for ACPI resource conflicts 2008-07-14 22:38:33 +02:00
i2c-at91.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
i2c-au1550.c i2c-au1550: Fix PM support 2008-07-14 22:38:34 +02:00
i2c-bfin-twi.c i2c: Blackfin I2C Driver: Functional power management support 2008-07-28 12:41:03 +01:00
i2c-cpm.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-davinci.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
i2c-elektor.c i2c-algo-pcf: Drop unused struct members 2008-07-14 22:38:31 +02:00
i2c-gpio.c i2c: i2c_gpio: keep probe resident for hotplugged devices. 2008-07-28 12:40:44 +01:00
i2c-hydra.c i2c: Drop stray references to lm_sensors 2008-07-14 22:38:34 +02:00
i2c-i801.c i2c: Drop stray references to lm_sensors 2008-07-14 22:38:34 +02:00
i2c-ibm_iic.c i2c-ibm_iic: Register child nodes 2008-07-14 22:38:36 +02:00
i2c-ibm_iic.h
i2c-iop3xx.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-iop3xx.h
i2c-isch.c i2c: Check for ACPI resource conflicts 2008-07-14 22:38:33 +02:00
i2c-ixp2000.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
i2c-mpc.c Merge commit 'origin/master' 2008-07-16 11:07:59 +10:00
i2c-mv64xxx.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-nforce2-s4985.c i2c: Fix oops on bus multiplexer driver loading 2008-08-10 22:56:15 +02:00
i2c-nforce2.c i2c: Check for ACPI resource conflicts 2008-07-14 22:38:33 +02:00
i2c-ocores.c i2c-ocores: basic PM support 2008-07-14 22:38:33 +02:00
i2c-omap.c
i2c-parport-light.c
i2c-parport.c
i2c-parport.h
i2c-pasemi.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-pca-isa.c
i2c-pca-platform.c i2c-pca-platform: Fix error code 2008-07-14 22:38:26 +02:00
i2c-piix4.c i2c: Drop stray references to lm_sensors 2008-07-14 22:38:34 +02:00
i2c-pmcmsp.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-pnx.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
i2c-powermac.c
i2c-pxa.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
i2c-s3c2410.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
i2c-sh7760.c
i2c-sh_mobile.c
i2c-sibyte.c i2c-sibyte: SWARM I2C board initialization 2008-07-14 22:38:33 +02:00
i2c-simtec.c
i2c-sis96x.c i2c: Drop stray references to lm_sensors 2008-07-14 22:38:34 +02:00
i2c-sis630.c i2c: Drop stray references to lm_sensors 2008-07-14 22:38:34 +02:00
i2c-sis5595.c i2c: Drop stray references to lm_sensors 2008-07-14 22:38:34 +02:00
i2c-stub.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-taos-evm.c i2c: Consistently reject unsupported transactions 2008-07-14 22:38:25 +02:00
i2c-tiny-usb.c
i2c-versatile.c
i2c-via.c i2c: Drop stray references to lm_sensors 2008-07-14 22:38:34 +02:00
i2c-viapro.c i2c: Drop stray references to lm_sensors 2008-07-14 22:38:34 +02:00
i2c-voodoo3.c i2c: Drop stray references to lm_sensors 2008-07-14 22:38:34 +02:00
Kconfig i2c: Add support for I2C bus on Freescale CPM1/CPM2 controllers 2008-07-14 22:38:27 +02:00
Makefile i2c: Add support for I2C bus on Freescale CPM1/CPM2 controllers 2008-07-14 22:38:27 +02:00
scx200_acb.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
scx200_i2c.c