[PATCH 3.12 139/170] hwmon: (adm1029) Ensure the fan_div cache is updated in set_fan_div

2014-07-18 Thread Jiri Slaby
From: Axel Lin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1035a9e3e9c76b64a860a774f5b867d28d34acc2 upstream. 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

[PATCH 3.12 139/170] hwmon: (adm1029) Ensure the fan_div cache is updated in set_fan_div

2014-07-18 Thread Jiri Slaby
From: Axel Lin axel@ingics.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1035a9e3e9c76b64a860a774f5b867d28d34acc2 upstream. Writing to fanX_div does not clear the cache. As a result, reading from fanX_div may return the old value