linux_dsm_epyc7002/drivers/i2c/busses
Jean Delvare cf898dc5e9 i2c-i801: Fix handling of error conditions
Move the check of pre-transaction and post-transaction conditions to
separate functions, and adjust them a bit. Having dedicated functions
for that ensures that errors are handled in a consistent way.

Bit HOST_BUSY of the status register is read-only, so writing to it is
certainly not going to clear it. If this bit is set then we simply
don't want to start the transaction, as it means that somebody else
(ACPI, SMM?) is already using the controller.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-07-14 22:38:33 +02:00
..
i2c-acorn.c make i2c-acorn tristate 2007-07-15 16:40:52 -07:00
i2c-ali15x3.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-ali1535.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-ali1563.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-amd756-s4882.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-amd756.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-amd8111.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-at91.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-au1550.c [MIPS] Alchemy: SMBus resource fix 2008-05-12 16:46:50 +01:00
i2c-bfin-twi.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-cpm.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-davinci.c i2c-davinci: Initialize cmd_complete sooner 2008-07-14 22:38:21 +02:00
i2c-elektor.c i2c-algo-pcf: Drop unused struct members 2008-07-14 22:38:31 +02:00
i2c-gpio.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02: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: Fix handling of error conditions 2008-07-14 22:38:33 +02:00
i2c-ibm_iic.c i2c-ibm_iic: Enable driver for all PPC4xx variants in arch/powerpc 2008-07-14 22:38:30 +02:00
i2c-ibm_iic.h i2c-ibm_iic: Whitespace cleanup 2008-01-27 18:14:45 +01:00
i2c-iop3xx.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-iop3xx.h [PATCH] i2c-iop3xx: Avoid addressing self 2006-07-12 15:43:06 -07:00
i2c-isch.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-ixp2000.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-mpc.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02: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-nforce2: Add support for multiplexing on the Tyan S4985 2008-07-14 22:38:21 +02:00
i2c-nforce2.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-ocores.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-omap.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02: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-parport: Add support for One For All remote JP1 interface 2007-02-13 22:09:02 +01:00
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-algo-pca: Extend for future drivers 2008-04-22 22:16:46 +02:00
i2c-pca-platform.c i2c-pca-platform: Fix error code 2008-07-14 22:38:26 +02:00
i2c-piix4.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +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 i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-powermac.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-pxa.c i2c-pxa: Initialize early 2008-07-14 22:38:30 +02:00
i2c-s3c2410.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-sh7760.c i2c: Renesas SH7760 I2C master driver 2008-04-22 22:16:47 +02:00
i2c-sh_mobile.c i2c: New driver for the SuperH Mobile I2C bus controller 2008-04-22 22:16:49 +02:00
i2c-sibyte.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-simtec.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-sis96x.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-sis630.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-sis5595.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +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-tiny-usb: New VID/PID pair 2008-04-11 12:07:05 +02:00
i2c-versatile.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-via.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-viapro.c i2c: Let bus drivers add SPD to their class 2008-07-14 22:38:29 +02:00
i2c-voodoo3.c i2c: Add IDs to adapters 2007-02-13 22:09:01 +01: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 i2c: Add IDs to adapters 2007-02-13 22:09:01 +01:00