]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
hwmon: applesmc: prolong status wait
authorHenrik Rydberg <rydberg@euromail.se>
Sun, 19 Oct 2008 03:27:39 +0000 (20:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:52:35 +0000 (08:52 -0700)
commit02fcbd144d684167aa67b1d3ad68f18d265f2d08
tree78fd75f27dc9c25d3ec3f9631d4d2a943cb48315
parent84d2d7f2ee98dc9bd799790c89b5eb8280af2d37
hwmon: applesmc: prolong status wait

The time to wait for a status change while reading or writing to the SMC
ports is a balance between read reliability and system performance.  The
current setting yields rougly three errors in a thousand when
simultaneously reading three different temperature values on a Macbook
Air.  This patch increases the setting to a value yielding roughly one
error in ten thousand, with no noticable system performance degradation.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Cc: Nicolas Boichat <nicolas@boichat.ch>
Cc: Riki Oktarianto <rkoktarianto@gmail.com>
Cc: Mark M. Hoffman <mhoffman@lightlink.com>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/applesmc.c