]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/watchdog/f71808e_wdt.c
Merge tag 'iio-fixes-for-4.17a' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / drivers / watchdog / f71808e_wdt.c
index 3a33c5344bd5eaaad338dd77e138b5610c35dc27..9a1c761258ce4655b29ca46249df4e4a55cda64c 100644 (file)
@@ -496,7 +496,7 @@ static bool watchdog_is_running(void)
 
        is_running = (superio_inb(watchdog.sioaddr, SIO_REG_ENABLE) & BIT(0))
                && (superio_inb(watchdog.sioaddr, F71808FG_REG_WDT_CONF)
-                       & F71808FG_FLAG_WD_EN);
+                       & BIT(F71808FG_FLAG_WD_EN));
 
        superio_exit(watchdog.sioaddr);