]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
hwmon: (applesmc) Shorten minimum wait time
authorHenrik Rydberg <rydberg@euromail.se>
Mon, 9 Jul 2012 10:10:26 +0000 (12:10 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 22 Jul 2012 04:48:45 +0000 (21:48 -0700)
commita332bf9a65ab34b01226ed177f6937af843c8465
treed102cec94a38f59fbd770c9bb3bf37f3b749b8aa
parent08cd6753d96aebcceebe10800fede1e4830e2a48
hwmon: (applesmc) Shorten minimum wait time

The 2012 series of MacBooks have a faster SMC, and the current driver
timings do not work at all. Tests show that decreasing the minimum
wait time, from 64 us to 16 us, works well. Since this is still larger
than the original minimum of 10 us used before 2008, there is nothing
inherently problematic with changing it. The fail frequency on older
machines seems to increase slightly, but not enough to be noticeable.

Tested on MBA11, MBA31, MBA5,2, MBP9,2.

The patch was originally written by adamski99 (ubuntuforums.org) and
later tested by janhouse (bbs.archlinux.org).

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/applesmc.c