summaryrefslogtreecommitdiff
path: root/drivers/hwmon/dell-smm-hwmon.c
diff options
context:
space:
mode:
authorDenis Pauk <pauk.denis@gmail.com>2021-12-18 23:52:06 +0300
committerGuenter Roeck <linux@roeck-us.net>2021-12-27 02:02:07 +0300
commit20f2e67cbc7599217d5a764c76e9c2bbe85e3761 (patch)
treed52e8268727057a76dca05002ce36c79031767fe /drivers/hwmon/dell-smm-hwmon.c
parenta8d6d4992ad9d92356619ac372906bd29687bb46 (diff)
downloadlinux-20f2e67cbc7599217d5a764c76e9c2bbe85e3761.tar.xz
hwmon: (nct6775) Additional check for ChipID before ASUS WMI usage
WMI monitoring methods can be changed or removed in new ASUS boards BIOS versions. Such versions return zero instead of a real one as Chip ID. Commit adds additional validation for the result of Chip ID call before enabling access by ASUS WMI methods. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=204807 Signed-off-by: Denis Pauk <pauk.denis@gmail.com> Link: https://lore.kernel.org/r/20211218205206.615865-1-pauk.denis@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/dell-smm-hwmon.c')
0 files changed, 0 insertions, 0 deletions