]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hwmon/f71882fg: Fix temp1 sensor type reporting
authorHans de Goede <hdegoede@redhat.com>
Wed, 9 Mar 2011 19:57:07 +0000 (20:57 +0100)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 15 Mar 2011 05:39:21 +0000 (22:39 -0700)
commit44c4dc521e99c0b2946973090b27c9bd4eb81b63
tree521e4acfb2a8985783c3a51f5c1900568dd0e8f4
parent02309ad2b8cbcf45260dd9bb5a527799a612c161
hwmon/f71882fg: Fix temp1 sensor type reporting

The code for determining a sensort type for temp1 was based on me misreading
the datasheet, the tested registers do not determine what kind of sensor
is actually reported as temp1. Instead the enable / disable certain additional
digital sensor readouts throug PECI / AMDSI, etc. Independent of these settings
temp1 is still reading an external BJT or thermistor as configured by the
Temperature Sensor Type Register (0x6b).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/f71882fg.c