mirror of https://gitee.com/openkylin/linux.git
1263cc67c0
The latest speedbumped Apple G5 models have a "bug" in the Open Firmware device tree that lacks the proper interrupt routing information for the northbridge i2c controller. Apple's driver silently falls back into a sub-optimal "polled" mode (heh, maybe they didn't even notice the bug because of that :), our driver didn't properly check and crashes :( This patch fixes our driver to not crash, and adds code to the prom_init() OF trampoline code that detects the "bug" and adds the missing information back for this chipset revision. This fixes booting and thermal control on these models. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
algos | ||
busses | ||
chips | ||
Kconfig | ||
Makefile | ||
i2c-core.c | ||
i2c-dev.c | ||
i2c-sensor-detect.c | ||
i2c-sensor-vid.c |