summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ina3221.c
diff options
context:
space:
mode:
authoramy.shih <amy.shih@advantech.com.tw>2019-10-14 11:24:51 +0300
committerGuenter Roeck <linux@roeck-us.net>2019-10-20 19:22:48 +0300
commit6fc28b7e0aac8a72217b314dfb5208321d9448e2 (patch)
tree100678f883e8d6bf7b079b4e98dcaebd2fa3e87d /drivers/hwmon/ina3221.c
parent4f5cafb5cb8471e54afdc9054d973535614f7675 (diff)
downloadlinux-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 'drivers/hwmon/ina3221.c')
0 files changed, 0 insertions, 0 deletions