mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-06 15:51:34 +00:00
Fix incorrect bitmask in PWM clock select debug message.
Reported by Mohan Mistry. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2845 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
90016668df
commit
b6f200507b
1 file changed
+2
-2
+2
-2
@@ -374,8 +374,8 @@ static void lm63_init_client(struct i2c_client *client)
|
||||
(data->config & 0x04) ? "tachometer input" :
|
||||
"alert output");
|
||||
printk(KERN_DEBUG "lm63: PWM clock %s kHz, output frequency %u Hz\n",
|
||||
(data->config_fan & 0x04) ? "1.4" : "360",
|
||||
((data->config_fan & 0x04) ? 700 : 180000) / data->pwm1_freq);
|
||||
(data->config_fan & 0x08) ? "1.4" : "360",
|
||||
((data->config_fan & 0x08) ? 700 : 180000) / data->pwm1_freq);
|
||||
printk(KERN_DEBUG "lm63: PWM output active %s, %s mode\n",
|
||||
(data->config_fan & 0x10) ? "low" : "high",
|
||||
(data->config_fan & 0x20) ? "manual" : "auto");
|
||||
|
||||
Reference in new issue
Block a user