[PATCH] powermac: Fix i2c on keywest based chips
commit60162e498e220d1f03bbee5bac0a9ddd6de60ae7
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 18 Apr 2006 04:11:53 +0000 (18 14:11 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 21 Apr 2006 12:29:46 +0000 (21 22:29 +1000)
tree8cbcbea6060eb2b9f7d39784385efdfc6e947b52
parent28897731318dc8f63f683eed9091e446916ad706
[PATCH] powermac: Fix i2c on keywest based chips

The new i2c implementation for PowerMac has a regression that causes the
hardware to go out of state when probing non-existent devices. While
fixing that, I also found & fixed a couple of other corner cases. This
fixes booting with a pbbuttons version that scans the i2c bus for an LMU
controller among others. Tested on a dual G5 with thermal control (which
has heavy i2c activity) with no problem so far.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/low_i2c.c