commit | 82dbe987b70042b340f851bdc969a971081e5f02 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Wed Feb 08 14:02:59 2017 -0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Fri Feb 10 21:35:08 2017 -0800 |
tree | 19558b051636f6c370f1bf5a452b971c64ff0655 | |
parent | 638c1c07f99b752c14502009b50ffe4dd4de5ae2 [diff] |
hwmon: (it87) Ensure that pwm control cache is current before updating values If sensor attributes were never read, the pwm control data has not been initiialized, which can cause wrong driver behavior. Ensure that cached data is current before acting on it. Cc: stable@vger.kernel.org # 4.4+ Reported-by: Kevin Folz <kfolz@evertz.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>