]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
hwmon: (nct7802) fix visibility of temp3
authorConstantine Shulyupin <const@ctera.com>
Fri, 26 Jun 2015 14:47:44 +0000 (17:47 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 1 Jul 2015 20:56:27 +0000 (13:56 -0700)
commit56172d81a9bc37a69b95dd627b8d48135c9c7b31
tree239c981459bccf797e80335d4222d982a4d09363
parent9026cae1c6d6c288dff0dc1d8350a949432819d8
hwmon: (nct7802) fix visibility of temp3

Excerpt from datasheet:
7.2.32 Mode Selection Register
RTD3_MD : 00=Closed , 01=Reserved , 10=Thermistor mode , 11=Voltage sense

Show temp3 only in Thermistor mode

Cc: stable@vger.kernel.org # v3.19+
Signed-off-by: Constantine Shulyupin <const@MakeLinux.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct7802.c