hwmon: (nct6775) Enable IO mapping for NCT6797D and NCT6798D
authorGuenter Roeck <linux@roeck-us.net>
Wed, 26 Dec 2018 21:56:15 +0000 (13:56 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 7 Jan 2019 03:49:14 +0000 (19:49 -0800)
commit9de15c95a63f527c8f7a968cd95e6ec71fc6891d
tree4b09e218235eba7b0dfee155abd7d7a4c4541753
parent264142bc70ec039e26d8f3b46a717e8037f59ca0
hwmon: (nct6775) Enable IO mapping for NCT6797D and NCT6798D

Similar to other recent chips from Nuvoton, IO mapping may be disabled
by default. Enable it when instantiating the driver and after resume.

Fixes: 0599682b826f ("hwmon: (nct6775) Add support for NCT6798D")
Fixes: e41da286a2fd ("hwmon: (nct6775) Add support for NCT6797D")
Reported-by: Michael Cook <mcook@mackal.net>
Cc: Michael Cook <mcook@mackal.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c