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:
parent
3223aac2bd
commit
83048fb8c1
13
patch/kernel/sun8i-default/wdt_reduce_logging.patch
Normal file
13
patch/kernel/sun8i-default/wdt_reduce_logging.patch
Normal 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;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user