summaryrefslogtreecommitdiff
path: root/drivers/hwmon/shtc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/shtc1.c')
-rw-r--r--drivers/hwmon/shtc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c
index decd7df995ab..2a18539591ea 100644
--- a/drivers/hwmon/shtc1.c
+++ b/drivers/hwmon/shtc1.c
@@ -38,7 +38,7 @@ static const unsigned char shtc1_cmd_read_id_reg[] = { 0xef, 0xc8 };
/* constants for reading the ID register */
#define SHTC1_ID 0x07
-#define SHTC1_ID_REG_MASK 0x1f
+#define SHTC1_ID_REG_MASK 0x3f
/* delays for non-blocking i2c commands, both in us */
#define SHTC1_NONBLOCKING_WAIT_TIME_HPM 14400