Skip to content
  • Henrik Rydberg's avatar
    hwmon: applesmc: prolong status wait · 02fcbd14
    Henrik Rydberg authored
    
    
    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: default avatarHenrik 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: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    02fcbd14