]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (jc42) Strengthen detect function
authorGuenter Roeck <linux@roeck-us.net>
Sun, 30 Jun 2024 20:08:40 +0000 (13:08 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 30 Jun 2024 20:15:26 +0000 (13:15 -0700)
commitb3e992f69c239b0eb99c408c1ca9cd4253d2e7ad
treee1d996866205dd0e241dfac27a55f41d8e42b106
parentc98cf41dfbab71e3c6d71061c182fafde0bf0f99
hwmon: (jc42)  Strengthen detect function

Configuration register bit 5 must read 0 for all JC42.4 compliant chips.
Several capability register bits must be set for all TSE2004 compliant
chips. Use that information to strengthen the detect function.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/jc42.c