]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c-mpc: Don't disable I2C module on stop condition
authorDomen Puncer <domen.puncer@telargo.com>
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)
commit5af0e07f87e7d9be2a9db514af1e338341240f6d
tree832666718356a281e52653ab9cd6abc30e082fbe
parent432ca994bf7107e88916fd9606ca7402a4571359
i2c-mpc: Don't disable I2C module on stop condition

Disabling module on stop doesn't work on some CPUs (ie. mpc8241,
as reported by Guennadi Liakhovetski), so remove that.

Disable I2C module on errors/interrupts to prevent it from
locking up on mpc5200b.

Signed-off-by: Domen Puncer <domen.puncer@telargo.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-mpc.c