Hi
On 5 February 2016 at 00:46, Guenter Roeck linux@roeck-us.net wrote:
On 02/04/2016 08:37 AM, Timur Tabi wrote:
Will Deacon wrote:
+static int sbsa_gwdt_keepalive(struct watchdog_device *wdd)
+{
- struct sbsa_gwdt *gwdt = to_sbsa_gwdt(wdd);
- /*
- Writing WRR for an explicit watchdog refresh.
- You can write anyting(like 0xc0ffee).
- */
- writel(0xc0ffee, gwdt->refresh_base + SBSA_GWDT_WRR);
- return 0;
+}
You might get in trouble for that. 0xd09f00d is probably less poisonous.
Any reason why we can't just keep it simple and write 0?
+1
yes, we can, just "0" would be fine, will do.
Thanks :-)
Guenter