diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-07-02 04:29:55 +0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-07-03 20:45:17 +0400 |
commit | 1035a9e3e9c76b64a860a774f5b867d28d34acc2 (patch) | |
tree | aa2be34ac6b4bdf39f41dadb4bba97848624dfe9 /drivers/hwmon/adm1021.c | |
parent | df86754b746e9a0ff6f863f690b1c01d408e3cdc (diff) | |
download | linux-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