PATCH: hwmon-fscher-bugfix-control-update.patch
Mark,
Here is another small fscher bugfix for 2.6.23 merging, this was caught by Jean while reviewing my other bugfix. The driver was updating its copy of the control register as if it was clear to write, but its regular read/write. This patch fixes this.
Regards,
Hans
Mark,
Here is another small fscher bugfix for 2.6.23 merging, this was caught by Jean while reviewing my other bugfix. The driver was updating its copy of the control register as if it was clear to write, but its regular read/write. This patch fixes this.
drivers/hwmon/fscher.c renamed from drivers/hwmon/fscher.c~ +1 -1
@@ -599,7 +599,7 @@ static ssize_t set_control(struct i2c_clunsigned long v =simple_strtoul (buf,NULL ,10 ) &0x01 ;mutex_lock (&data->update_lock); - data->global_control &= ~v; + data->global_control = v;fscher_write_value (client, reg, v);mutex_unlock (&data->update_lock);return count;
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Jean Delvare
Acked-byQuoted 6 lines · Hans de Goede
Here is another small fscher bugfix for 2.6.23 merging, this was caught by Jean while reviewing my other bugfix. The driver was updating its copy of the control register as if it was clear to write, but its regular read/write. This patch fixes this.
Signed-off-by Hans de Goede <[email protected]>
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Hans, Jean:
Quoted 9 lines · Jean Delvare
Quoted 6 lines · Hans de Goede
Here is another small fscher bugfix for 2.6.23 merging, this was caught by Jean while reviewing my other bugfix. The driver was updating its copy of the control register as if it was clear to write, but its regular read/write. This patch fixes this.
Signed-off-by Hans de Goede <[email protected]>Acked-by Jean Delvare <[email protected]>
Applied to hwmon-2.6.git/testing, thanks.
Signature · 8 lines
Mark M. Hoffman [email protected] _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors