hwmon: (adm1021) Fix cache problem when writing temperature limits
authorAxel Lin <[email protected]>
Thu, 3 Jul 2014 14:45:45 +0000 (22:45 +0800)
committerGuenter Roeck <[email protected]>
Thu, 3 Jul 2014 16:45:26 +0000 (09:45 -0700)
commitc024044d4da2c9c3b32933b4235df1e409293b84
tree121335f42be1ca694bc95f444e2f73debd6e936a
parent1035a9e3e9c76b64a860a774f5b867d28d34acc2
hwmon: (adm1021) Fix cache problem when writing temperature limits

The module test script for the adm1021 driver exposes a cache problem
when writing temperature limits. temp_min and temp_max are expected
to be stored in milli-degrees C but are stored in degrees C.

Reported-by: Guenter Roeck <[email protected]>
Signed-off-by: Axel Lin <[email protected]>
Cc: [email protected]
Signed-off-by: Guenter Roeck <[email protected]>
drivers/hwmon/adm1021.c