Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] Fix windfarm model-id table

model_id fields of wf_smu_sys_all_params should match the model ID
they are supposed to represent (as commented). Fixes windfarm on some
iMac 8,1 models.

Signed-off-by: Michal Ostrowski <mostrows at watson ibm com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by

Michal Ostrowski and committed by
Paul Mackerras
326743ea 6184b723

+2 -2
+2 -2
drivers/macintosh/windfarm_pm81.c
··· 207 207 }, 208 208 /* Model ID 3 */ 209 209 { 210 - .model_id = 2, 210 + .model_id = 3, 211 211 .itarget = 0x350000, 212 212 .gd = 0x08e00000, 213 213 .gp = 0x00566666, ··· 219 219 }, 220 220 /* Model ID 5 */ 221 221 { 222 - .model_id = 2, 222 + .model_id = 5, 223 223 .itarget = 0x3a0000, 224 224 .gd = 0x15400000, 225 225 .gp = 0x00233333,