summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@linux-watchdog.org>2018-03-10 11:46:24 +0100
committerWim Van Sebroeck <wim@linux-watchdog.org>2018-03-10 11:46:24 +0100
commit1462eecfc534fbfe85645d632527b358354fa3f4 (patch)
tree40ff00bf1e2ddd1902df68b41e0be68d641600a1 /drivers/watchdog
parentwatchdog: renesas_wdt: Add restart handler (diff)
parentwatchdog: f71808e_wdt: Fix WD_EN register read (diff)
downloadlinux-1462eecfc534fbfe85645d632527b358354fa3f4.tar.xz
linux-1462eecfc534fbfe85645d632527b358354fa3f4.zip
Merge branch 'v4.16-fixes'
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/f71808e_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/f71808e_wdt.c b/drivers/watchdog/f71808e_wdt.c
index 3a33c5344bd5..9a1c761258ce 100644
--- a/drivers/watchdog/f71808e_wdt.c
+++ b/drivers/watchdog/f71808e_wdt.c
@@ -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);