Skip to content

Commit 3b3a0ef

Browse files
committed
Merge tag 'hwmon-for-v6.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull hwmon fix from Guenter Roeck: "Fix auto-detect regression in jc42 driver" * tag 'hwmon-for-v6.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: [PATCH} hwmon: (jc42) Properly detect TSE2004-compliant devices again
2 parents 5d97dde + eabb038 commit 3b3a0ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwmon/jc42.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ static int jc42_detect(struct i2c_client *client, struct i2c_board_info *info)
417417
return -ENODEV;
418418

419419
if ((devid & TSE2004_DEVID_MASK) == TSE2004_DEVID &&
420-
(cap & 0x00e7) != 0x00e7)
420+
(cap & 0x0062) != 0x0062)
421421
return -ENODEV;
422422

423423
for (i = 0; i < ARRAY_SIZE(jc42_chips); i++) {

0 commit comments

Comments
 (0)