From 0d65cedd4c04e4fd64765b8cbe56c46f42d3f466 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 9 Dec 2005 19:35:58 +0000 Subject: [PATCH] Patch from Yuan Mu: This patch fixes a typo in set VCORE function, in_min should be in_max. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3205 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/chips/w83627hf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/chips/w83627hf.c b/kernel/chips/w83627hf.c index acbad4a1..1707fe48 100644 --- a/kernel/chips/w83627hf.c +++ b/kernel/chips/w83627hf.c @@ -1077,7 +1077,7 @@ void w83627hf_in(struct i2c_client *client, int operation, int ctl_name, if (*nrels_mag >= 2) { if (nr == 0 && (data->vrm_ovt & 0x01)) /* use VRM9 calculation */ - data->in_min[0] = IN_TO_REG_VRM9(results[1]); + data->in_max[0] = IN_TO_REG_VRM9(results[1]); else /* use VRM8 (standard) calculation */ data->in_max[nr] = IN_TO_REG(results[1]);