OpenCloudOS-Kernel/drivers/i2c
Jordan Crouse 95563d343f [PATCH] scx200_acb: Fix for the CS5535 errata
This is a fix for the CS5535 errata 111:

When the SMBus controller tries to access a non-existing device, it sets
the NEGACK bit, SMBus I/O offset 01h[4], to 1 after it detects no
acknowledge at the ninth clock.  The specification states that the bit
can be cleared by writing a 1 to it, but under certain circumstances it
is possible for this bit to not clear.

Writing a 0 to the bit resets the internal state machine and clears the
issue.

Since all writable bits in ACBST are W1C bits (write-one-to-clear) the
second write doesn't affect any other logic except the buggy NEGACK
state machine. The second write clears an internal register which is
responsible for "overwriting" the NEGACK bit in ACBST.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-05-09 13:04:21 -07:00
..
algos [PATCH] i2c: Use module_param in i2c-algo-sibyte 2006-02-06 12:02:15 -08:00
busses [PATCH] scx200_acb: Fix for the CS5535 errata 2006-05-09 13:04:21 -07:00
chips [PATCH] m41t00: fix bitmasks when writing to chip 2006-04-19 09:13:49 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] hwmon: hwmon vs i2c, second round (07/11) 2005-09-05 09:14:22 -07:00
i2c-core.c [PATCH] i2c: Optimize core_lists mutex usage 2006-03-23 14:21:53 -08:00
i2c-dev.c [PATCH] i2c: drop empty i2c_driver.command implementations 2006-01-05 22:16:26 -08:00