]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-mv64xxx: Reinitialize hw and driver on I2C bus hang
authorDale Farnsworth <dale@farnsworth.org>
Tue, 14 Aug 2007 16:37:14 +0000 (18:37 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 14 Aug 2007 16:37:14 +0000 (18:37 +0200)
commit9a6227ac6a0eec05278387edd931265dbbf7b58c
treed8b7eb634571649f9401d351801e5de87cc5c91d
parentdcf1665280b9b7db9b553a4cb806e0ac0fafb46c
i2c-mv64xxx: Reinitialize hw and driver on I2C bus hang

Under certain conditions, the mv64xxx I2C bus can hang preventing
further operation.  To make the driver more robust, we now reset
the I2C hardware and the driver state machine when such hangs are
detected.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-mv64xxx.c