aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-11-21 19:22:16 +0100
committerChris Wright <chrisw@osdl.org>2005-11-24 14:10:12 -0800
commit4e980ac962bc77d292ad4039631553dd2a88d47f (patch)
tree565adf651a5803ac5fdb5ee3d6f255ac91829622 /kernel
parentce79890ea55a84b3600bbee421be78117c2532bb (diff)
[PATCH] hwmon: Fix missing it87 fan div init
Fix a bug where setting the low fan speed limits will not work if no data was ever read through the sysfs interface and the fan clock dividers have not been explicitely set yet either. The reason is that data->fan_div[nr] may currently be used before it is initialized from the chip register values. The fix is to explicitely initialize data->fan_div[nr] before using it. Bug reported, and fix tested, by Nicolas Mailhot. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Chris Wright <chrisw@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions