From ced719a03098a058d006aa69bb64bd0f01cb61b0 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 28 Oct 2010 20:31:49 +0200 Subject: [PATCH] --- yaml --- r: 220506 b: refs/heads/master c: 5d2cd958f777e533fa2809527836996f59b2d823 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/hwmon/w83795.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0eb9a5ceacef..74d6eaf5f454 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 21fc977551da43ec21ae0ebb859411afd4243d2b +refs/heads/master: 5d2cd958f777e533fa2809527836996f59b2d823 diff --git a/trunk/drivers/hwmon/w83795.c b/trunk/drivers/hwmon/w83795.c index e916c04e8681..9d73768060d4 100644 --- a/trunk/drivers/hwmon/w83795.c +++ b/trunk/drivers/hwmon/w83795.c @@ -1405,7 +1405,7 @@ show_in(struct device *dev, struct device_attribute *attr, char *buf) lsb_idx = IN_LSB_SHIFT_IDX[index][IN_LSB_IDX]; val <<= 2; val |= (data->in_lsb[lsb_idx][nr] >> - IN_LSB_SHIFT_IDX[lsb_idx][IN_LSB_SHIFT]) & 0x03; + IN_LSB_SHIFT_IDX[index][IN_LSB_SHIFT]) & 0x03; if ((index >= 17) && !((data->has_gain >> (index - 17)) & 1)) val *= 8;