diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-11-21 19:22:16 +0100 |
---|---|---|
committer | Chris Wright <chrisw@osdl.org> | 2005-11-24 14:10:12 -0800 |
commit | 4e980ac962bc77d292ad4039631553dd2a88d47f (patch) | |
tree | 565adf651a5803ac5fdb5ee3d6f255ac91829622 /Makefile | |
parent | ce79890ea55a84b3600bbee421be78117c2532bb (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 'Makefile')
0 files changed, 0 insertions, 0 deletions