diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-07-05 20:39:40 +0200 |
---|---|---|
committer | Mark M. Hoffman <mhoffman@lightlink.com> | 2007-10-09 22:56:30 -0400 |
commit | 63f281a6e32ebc93c62dac0d399d8e054eb7b2ec (patch) | |
tree | d60cf42951a3d274f263788f6f54c06695b2e41f /drivers/hwmon/lm93.c | |
parent | 5a4d3ef317c845893fe3f9d3517cb0a99375da53 (diff) | |
download | op-kernel-dev-63f281a6e32ebc93c62dac0d399d8e054eb7b2ec.zip op-kernel-dev-63f281a6e32ebc93c62dac0d399d8e054eb7b2ec.tar.gz |
hwmon: (lm85) Let the user set the fan min limit to 0
Trying to set the fan min limit to 0 currently writes 0 to the
register, which is an invalid value. It's read back as -1 and the
alarm flag is raised. Instead we should write 0xffff (maximum
value), which reads back as 0 and no alarm flag is raised.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Juerg Haefliger <juergh at gmail.com>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'drivers/hwmon/lm93.c')
0 files changed, 0 insertions, 0 deletions