Reduce sun8i-default sunxi_wdt logging verbosity

http://forum.armbian.com/index.php/topic/1378-a-problem-with-watchdog-timer/
This commit is contained in:
zador-blood-stained 2016-06-10 12:52:29 +03:00
parent 3223aac2bd
commit 83048fb8c1

View File

@ -0,0 +1,13 @@
diff --git a/drivers/watchdog/sunxi_wdt.c b/drivers/watchdog/sunxi_wdt.c
index ecbf600..f475e69 100755
--- a/drivers/watchdog/sunxi_wdt.c
+++ b/drivers/watchdog/sunxi_wdt.c
@@ -214,7 +214,7 @@ static int wdt_restart(void)
}
#endif
- pr_info("%s, write reg 0x%08x\n", __func__, (u32)&wdt_reg->ctrl);
+ pr_debug("%s, write reg 0x%08x\n", __func__, (u32)&wdt_reg->ctrl);
writel((0xA57 << 1) | (1 << 0), &wdt_reg->ctrl);
return 0;
}