commit | 3310600aa7bc11ead9b0324b972d13fb0e91bcaf | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Thu Dec 08 10:01:25 2011 -0800 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Thu Jan 05 08:19:30 2012 -0800 |
tree | f9dcb81de745d403ea902789142fa8d26e01364e | |
parent | 740f6be3ccc885ca103c90c48d3b3066239c585c [diff] |
hwmon: (f75375s) Fix value range for PWM modes Accepted value range for PWM modes was 0..4, even though only 0..3 is subsequently used. Limit permitted value range to 0..3 to avoid unpredictable behavior. Cc: Riku Voipio <riku.voipio@iki.fi> Reviewed-by: Bjoern Gerhart <oss@extracloud.de> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>