diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-02-13 22:08:23 +0100 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-03-15 06:39:18 +0100 |
commit | 3382a918da968318a4284a14b3dee4a38f8a6749 (patch) | |
tree | 4fce52cfcf9632362714fc03a5bcfd2785494759 /drivers/hwmon/lm80.c | |
parent | hwmon: (w83627ehf) Use 16 bit fan count registers if supported (diff) | |
download | linux-3382a918da968318a4284a14b3dee4a38f8a6749.tar.xz linux-3382a918da968318a4284a14b3dee4a38f8a6749.zip |
hwmon: (w83627ehf) Store rpm instead of raw fan speed data
Since the fan speed value can be above 0xff, we can no longer use
that value to determine if the fan speed reading is valid. This
makes it difficult to manipulate the stored fan speed register value.
If we store rpm instead of the fan speed register value, we do not
need to correct it if the fan divisor value is changed, and the above
mentioned problem no longer exists.
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Ian Dobson <i.dobson@planet-ian.com>
Diffstat (limited to 'drivers/hwmon/lm80.c')
0 files changed, 0 insertions, 0 deletions