android_kernel_xiaomi_sm8350/drivers/i2c/busses
Manuel Lauss 91f27958d6 i2c-au1550: properly terminate zero-byte transfers
Zero-bytes transfers would leave the bus transaction unfinished
(no i2c stop is sent), with the following transfer actually
sending the slave address to the previously addressed device,
resulting in weird device failures (e.g. reset minute register
values in my RTC).
This patch instructs the controller to send an I2C STOP right after
the slave address in case of a zero-byte transfer.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-27 18:14:52 +01:00
..
i2c-acorn.c
i2c-ali15x3.c
i2c-ali1535.c
i2c-ali1563.c
i2c-amd756-s4882.c
i2c-amd756.c i2c: Let the user specify PCI driver data through new_id 2008-01-27 18:14:51 +01:00
i2c-amd8111.c
i2c-at91.c i2c: Spelling fixes 2008-01-14 21:53:30 +01:00
i2c-au1550.c i2c-au1550: properly terminate zero-byte transfers 2008-01-27 18:14:52 +01:00
i2c-au1550.h
i2c-bfin-twi.c
i2c-davinci.c i2c: Don't uselessly set i2c_adapter.retries 2008-01-27 18:14:47 +01:00
i2c-elektor.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-gpio.c i2c-gpio: Initialize adapter class 2007-12-12 13:45:24 +01:00
i2c-hydra.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-i801.c i2c-i801: Implement I2C block read support 2008-01-27 18:14:50 +01:00
i2c-i810.c
i2c-ibm_iic.c i2c: Don't uselessly set i2c_adapter.retries 2008-01-27 18:14:47 +01:00
i2c-ibm_iic.h i2c-ibm_iic: Whitespace cleanup 2008-01-27 18:14:45 +01:00
i2c-iop3xx.c i2c: Don't uselessly set i2c_adapter.retries 2008-01-27 18:14:47 +01:00
i2c-iop3xx.h
i2c-ixp2000.c
i2c-mpc.c mpc-i2c: Propagate error values properly 2008-01-27 18:14:52 +01:00
i2c-mv64xxx.c
i2c-nforce2.c i2c-nforce2: The nForce2 can do block transactions 2008-01-27 18:14:44 +01:00
i2c-ocores.c
i2c-omap.c i2c: Don't uselessly set i2c_adapter.retries 2008-01-27 18:14:47 +01:00
i2c-parport-light.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-parport.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-parport.h
i2c-pasemi.c i2c-pasemi: use i2c_add_numbered_adapter() 2008-01-27 18:14:44 +01:00
i2c-pca-isa.c
i2c-piix4.c i2c-piix4: Drop redundant PCI function number check 2008-01-27 18:14:51 +01:00
i2c-pmcmsp.c
i2c-pnx.c
i2c-powermac.c i2c: Spelling fixes 2008-01-14 21:53:30 +01:00
i2c-prosavage.c
i2c-pxa.c i2c-pxa: Add polling transfer 2008-01-27 18:14:50 +01:00
i2c-s3c2410.c
i2c-savage4.c
i2c-sibyte.c i2c-sibyte: Remove the bus scan module parameter 2008-01-27 18:14:50 +01:00
i2c-simtec.c
i2c-sis96x.c
i2c-sis630.c
i2c-sis5595.c
i2c-stub.c i2c-stub: Use a single array for byte and word operations 2008-01-27 18:14:45 +01:00
i2c-taos-evm.c
i2c-tiny-usb.c
i2c-versatile.c
i2c-via.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-viapro.c i2c-viapro: Add support for the VT8237S 2008-01-27 18:14:51 +01:00
i2c-voodoo3.c
Kconfig i2c-viapro: Add support for the VT8237S 2008-01-27 18:14:51 +01:00
Makefile i2c: some overdue driver removal 2008-01-27 18:14:46 +01:00
scx200_acb.c
scx200_i2c.c