summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrikanth Krishnakar <skrishnakar@gmail.com>2019-09-18 21:34:58 +0530
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-12-30 15:58:23 +0100
commitafcd5b9be566e43f4433ebcdd4de2c4e9054fd65 (patch)
treef0a799cb10c1d419e6bf75b79ff53423147596f5
parentd1eef1c619749b2a57e514a3fa67d9a516ffa919 (diff)
downloadlinux-afcd5b9be566e43f4433ebcdd4de2c4e9054fd65.tar.bz2
watchdog: w83627hf_wdt: Fix support NCT6116D
We should select nct6116 for the new chip, not nct6102. Signed-off-by: Srikanth Krishnakar <skrishnakar@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
-rw-r--r--drivers/watchdog/w83627hf_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/w83627hf_wdt.c b/drivers/watchdog/w83627hf_wdt.c
index fdf533fe0bb2..56a4a4030ca9 100644
--- a/drivers/watchdog/w83627hf_wdt.c
+++ b/drivers/watchdog/w83627hf_wdt.c
@@ -420,7 +420,7 @@ static int wdt_find(int addr)
cr_wdt_csr = NCT6102D_WDT_CSR;
break;
case NCT6116_ID:
- ret = nct6102;
+ ret = nct6116;
cr_wdt_timeout = NCT6102D_WDT_TIMEOUT;
cr_wdt_control = NCT6102D_WDT_CONTROL;
cr_wdt_csr = NCT6102D_WDT_CSR;