https://github.com/torvalds/linux
Revision 1035a9e3e9c76b64a860a774f5b867d28d34acc2 authored by Axel Lin on 02 July 2014, 00:29:55 UTC, committed by Guenter Roeck on 03 July 2014, 16:45:17 UTC
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>
1 parent df86754
History
Tip revision: 1035a9e3e9c76b64a860a774f5b867d28d34acc2 authored by Axel Lin on 02 July 2014, 00:29:55 UTC
hwmon: (adm1029) Ensure the fan_div cache is updated in set_fan_div
Tip revision: 1035a9e
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 275.1 KB
Makefile -rw-r--r-- 50.8 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top