Commit:     5cccf4a1a258ea5bff20e8440deb3dfcf032b04a
Parent:     517ef0d2a470c69b303c66694b0c45f31ff716cd
Author:     Hans de Goede <[EMAIL PROTECTED]>
AuthorDate: Thu Jul 19 15:57:20 2007 +0200
Committer:  Mark M. Hoffman <[EMAIL PROTECTED]>
CommitDate: Mon Jul 30 21:14:00 2007 -0400

    hwmon: fscher read control bugfix
    Here is a small fscher bugfix for 2.6.23 merging, lifted from my other 
    work, as requested by Jean. The current driver has a control sysfs 
    which shows the contents of the control register, but the underlying
    global_control value in the data structure currently never gets filled with
    the actual contents of this register.
    Signed-off-by: Hans de Goede <[EMAIL PROTECTED]>
    Acked-by: Jean Delvare <[EMAIL PROTECTED]>
    Signed-off-by: Mark M. Hoffman <[EMAIL PROTECTED]>
 drivers/hwmon/fscher.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/hwmon/fscher.c b/drivers/hwmon/fscher.c
index f3aa188..b34b546 100644
--- a/drivers/hwmon/fscher.c
+++ b/drivers/hwmon/fscher.c
@@ -441,6 +441,8 @@ static struct fscher_data *fscher_update_device(struct 
device *dev)
                data->watchdog[2] = fscher_read_value(client, 
                data->global_event = fscher_read_value(client, 
+               data->global_control = fscher_read_value(client,
+                                                       FSCHER_REG_CONTROL);
                data->last_updated = jiffies;
                data->valid = 1;                 
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to