diff options
author | Kun Yi <kunyi@google.com> | 2018-10-08 14:49:25 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-10-10 20:37:13 -0700 |
commit | f21c8e753b1dcb8f9e5b096db1f7f4e6fdfa7258 (patch) | |
tree | bac43db5aa8d70a011ca5afd89eda6542960895e /drivers/hwmon | |
parent | a6e43263ed01fa617e0a0c13ea8a5f1538573380 (diff) | |
download | linux-stable-f21c8e753b1dcb8f9e5b096db1f7f4e6fdfa7258.tar.gz linux-stable-f21c8e753b1dcb8f9e5b096db1f7f4e6fdfa7258.tar.bz2 linux-stable-f21c8e753b1dcb8f9e5b096db1f7f4e6fdfa7258.zip |
hwmon: (npcm-750-pwm-fan) Change initial pwm target to 255
Change initial PWM target to 255 to prevent overheating, for example
when BMC hangs in userspace or when userspace fan control application is
not implemented yet.
Signed-off-by: Kun Yi <kunyi@google.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/npcm750-pwm-fan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/npcm750-pwm-fan.c b/drivers/hwmon/npcm750-pwm-fan.c index 96634fd54e0b..c0fab54c0094 100644 --- a/drivers/hwmon/npcm750-pwm-fan.c +++ b/drivers/hwmon/npcm750-pwm-fan.c @@ -52,7 +52,7 @@ /* Define the Counter Register, value = 100 for match 100% */ #define NPCM7XX_PWM_COUNTER_DEFAULT_NUM 255 -#define NPCM7XX_PWM_CMR_DEFAULT_NUM 127 +#define NPCM7XX_PWM_CMR_DEFAULT_NUM 255 #define NPCM7XX_PWM_CMR_MAX 255 /* default all PWM channels PRESCALE2 = 1 */ |