mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-02 13:30:30 +00:00
Drop useless w83627hf initialization step (backported from Linux
2.6). git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3155 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
2f12c68ed1
commit
f1849c2f56
1 file changed
-6
@@ -194,7 +194,6 @@ superio_exit(void)
|
||||
|
||||
#define W83627HF_REG_PWM1 0x5A
|
||||
#define W83627HF_REG_PWM2 0x5B
|
||||
#define W83627HF_REG_PWMCLK12 0x5C
|
||||
|
||||
#define W83627THF_REG_PWM1 0x01 /* 697HF and 637HF too */
|
||||
#define W83627THF_REG_PWM2 0x03 /* 697HF and 637HF too */
|
||||
@@ -941,11 +940,6 @@ static void w83627hf_init_client(struct i2c_client *client)
|
||||
}
|
||||
}
|
||||
|
||||
if (type == w83627hf) {
|
||||
/* enable PWM2 control (can't hurt since PWM reg
|
||||
should have been reset to 0xff) */
|
||||
w83627hf_write_value(client, W83627HF_REG_PWMCLK12, 0x19);
|
||||
}
|
||||
/* enable comparator mode for temp2 and temp3 so
|
||||
alarm indication will work correctly */
|
||||
i = w83627hf_read_value(client, W83781D_REG_IRQ);
|
||||
|
||||
Reference in new issue
Block a user