android_kernel_xiaomi_sm8350/drivers/i2c/busses
Oleg Ryjkov 4153549734 i2c-nforce2: Move status checking to a separate function
This is the first part of the patch that adds a function to reset the
nvidia MCP51/55 i2c controller, if something bad happens to it (e.g.
a slave sends a wrong byte count during a block transaction).

This patch just adds nforce2_check_status function. It was originally
written by Hans-Frieder Vogt.

The reason that I'm the one sending it is:
- I relied on it for the second part of the patch,
- It makes the driver code cleaner/better.

Signed-off-by: Oleg Ryjkov <olegr@olegr.ca>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2007-10-13 23:56:33 +02:00
..
i2c-acorn.c
i2c-ali15x3.c
i2c-ali1535.c
i2c-ali1563.c
i2c-amd756-s4882.c
i2c-amd756.c
i2c-amd8111.c i2c: Rename the PEC functionality bit 2007-10-13 23:56:33 +02:00
i2c-at91.c
i2c-au1550.c i2c-au1550: Fix a misused register problem 2007-10-13 23:56:33 +02:00
i2c-au1550.h
i2c-bfin-twi.c i2c-bfin-twi: Remove useless twi_lock mutex 2007-10-13 23:56:31 +02:00
i2c-davinci.c i2c: Add DaVinci I2C controller support 2007-10-13 23:56:30 +02:00
i2c-elektor.c
i2c-gpio.c i2c-gpio: Fix adapter number 2007-09-09 22:29:13 +02:00
i2c-hydra.c
i2c-i801.c i2c: Rename the PEC functionality bit 2007-10-13 23:56:33 +02:00
i2c-i810.c
i2c-ibm_iic.c i2c-ibm_iic: Add support for new-style clients 2007-10-13 23:56:30 +02:00
i2c-ibm_iic.h
i2c-iop3xx.c i2c: Remove NOP i2c_algorithm.algo_control() methods 2007-10-13 23:56:32 +02:00
i2c-iop3xx.h
i2c-ixp4xx.c
i2c-ixp2000.c
i2c-mpc.c i2c-mpc: Don't disable I2C module on stop condition 2007-08-14 18:37:14 +02:00
i2c-mv64xxx.c i2c-mv64xxx: Reinitialize hw and driver on I2C bus hang 2007-08-14 18:37:14 +02:00
i2c-nforce2.c i2c-nforce2: Move status checking to a separate function 2007-10-13 23:56:33 +02:00
i2c-ocores.c
i2c-omap.c
i2c-parport-light.c
i2c-parport.c
i2c-parport.h
i2c-pasemi.c
i2c-pca-isa.c
i2c-piix4.c i2c-piix4: Fix SB700 PCI device ID 2007-08-31 01:42:23 -07:00
i2c-pmcmsp.c
i2c-pnx.c
i2c-powermac.c
i2c-prosavage.c
i2c-pxa.c i2c-pxa: Fix adapter number 2007-09-09 22:29:13 +02:00
i2c-s3c2410.c i2c-s3c2410: Build fix 2007-08-14 18:37:15 +02:00
i2c-savage4.c
i2c-sibyte.c
i2c-simtec.c
i2c-sis96x.c
i2c-sis630.c
i2c-sis5595.c
i2c-stub.c i2c-stub: Support multiple chips 2007-10-13 23:56:31 +02:00
i2c-taos-evm.c
i2c-tiny-usb.c
i2c-versatile.c
i2c-via.c
i2c-viapro.c
i2c-voodoo3.c
Kconfig i2c-at91: Mark as broken 2007-10-13 23:56:32 +02:00
Makefile i2c: Add DaVinci I2C controller support 2007-10-13 23:56:30 +02:00
scx200_acb.c
scx200_i2c.c