]> git.baikalelectronics.ru Git - kernel.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)
commitea4b7b71f48619412d1733619b8cba6c3f0b6ec0
tree239c981459bccf797e80335d4222d982a4d09363
parent7cb76ebf7ed88431ddc70c1624eb18a6b48c9954
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