浏览代码

Merge branch 'v4.16-fixes'

Wim Van Sebroeck 7 年之前
父节点
当前提交
1462eecfc5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/watchdog/f71808e_wdt.c

+ 1 - 1
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);