kernel-hacking-2024-linux-s.../drivers/i2c
Chris David a202707e71 i2c-au1550: Fix a misused register problem
Fix a "mis-used register" problem on the AMD MIPS Alchemy au1550
I2C interface.

In summary, the programmable serial controller seems to hang the kernel
when I send a single 'address' byte on the I2C bus.  The patch
essentially uses the PSC_SMBSTAT register's TE (transmit FIFO empty)
bit to check when the transmit FIFO is empty, instead of using the
PSC_SMBEVNT register's TU (transmit underflow) bit.  Using the TE bit
fixed the hang problem.

Signed-off-by: Chris David <cd@chrisdavid.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2007-10-13 23:56:33 +02:00
..
algos i2c-algo-bit: Read block data bugfix 2007-09-09 22:29:14 +02:00
busses i2c-au1550: Fix a misused register problem 2007-10-13 23:56:33 +02:00
chips i2c/pcf8574: No arbitrary initialization 2007-10-13 23:56:31 +02:00
i2c-boardinfo.c
i2c-core.c i2c: Remove i2c_algorithm.algo_control() 2007-10-13 23:56:32 +02:00
i2c-core.h
i2c-dev.c i2c: Remove i2c_algorithm.algo_control() 2007-10-13 23:56:32 +02:00
Kconfig
Makefile