]> git.sur5r.net Git - groeck-it87/commit
Ensure that pwm control cache is current before updating values
authorGuenter Roeck <linux@roeck-us.net>
Tue, 27 Sep 2016 00:35:56 +0000 (17:35 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 27 Sep 2016 00:35:56 +0000 (17:35 -0700)
commitbb613ebca48dc1cf803542d41ec59283c8d2ce5f
tree04e65bea8f4930c733a335358e9be55530373a7c
parent2c50189d957c824a1666b0ad728c6ecc1b78f7a7
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.

Reported-by: Kevin Folz <kfolz@evertz.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
it87.c