watchdog: w83627hf_wdt: Fix support NCT6116D
authorSrikanth Krishnakar <skrishnakar@gmail.com>
Wed, 18 Sep 2019 16:04:58 +0000 (21:34 +0530)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 30 Dec 2019 14:58:23 +0000 (15:58 +0100)
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>
drivers/watchdog/w83627hf_wdt.c

index fdf533f..56a4a40 100644 (file)
@@ -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;