diff options
author | amy.shih <amy.shih@advantech.com.tw> | 2019-10-14 11:24:51 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-10-20 19:22:48 +0300 |
commit | 6fc28b7e0aac8a72217b314dfb5208321d9448e2 (patch) | |
tree | 100678f883e8d6bf7b079b4e98dcaebd2fa3e87d /samples | |
parent | 4f5cafb5cb8471e54afdc9054d973535614f7675 (diff) | |
download | linux-6fc28b7e0aac8a72217b314dfb5208321d9448e2.tar.xz |
hwmon: (nct7904) Fix the incorrect value of vsen_mask & tcpu_mask & temp_mode in nct7904_data struct.
Voltage sensors overlap with external temperature sensors. Detect
the multi-function of voltage, thermal diode, thermistor and
reserved from register VT_ADC_MD_REG to set value of vsen_mask &
tcpu_mask & temp_mode in nct7904_data struct. If the value is
reserved, needs to disable the vsen_mask & tcpu_mask.
Signed-off-by: amy.shih <amy.shih@advantech.com.tw>
Link: https://lore.kernel.org/r/20191014082451.2895-1-Amy.Shih@advantech.com.tw
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions