summaryrefslogtreecommitdiff
path: root/drivers/hwmon/adm1021.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-07-02 04:29:55 +0400
committerGuenter Roeck <linux@roeck-us.net>2014-07-03 20:45:17 +0400
commit1035a9e3e9c76b64a860a774f5b867d28d34acc2 (patch)
treeaa2be34ac6b4bdf39f41dadb4bba97848624dfe9 /drivers/hwmon/adm1021.c
parentdf86754b746e9a0ff6f863f690b1c01d408e3cdc (diff)
downloadlinux-1035a9e3e9c76b64a860a774f5b867d28d34acc2.tar.xz
hwmon: (adm1029) Ensure the fan_div cache is updated in set_fan_div
Writing to fanX_div does not clear the cache. As a result, reading from fanX_div may return the old value for up to two seconds after writing a new value. This patch ensures the fan_div cache is updated in set_fan_div(). Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Axel Lin <axel.lin@ingics.com> Cc: stable@vger.kernel.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/adm1021.c')
0 files changed, 0 insertions, 0 deletions