Thread (1 message) 1 message, 1 author, 2014-11-20

Re: [PATCH v4 1/2] watchdog: ImgTec PDC Watchdog Timer Driver

From: Andrew Bresticker <hidden>
Date: 2014-11-20 18:09:02
Also in: linux-watchdog

Jude, Naidu,

On Thu, Nov 20, 2014 at 5:02 AM,  [off-list ref] wrote:
From: Jude Abraham <redacted>

This commit adds support for ImgTec PowerDown Controller Watchdog Timer.

Signed-off-by: Jude Abraham <redacted>
Signed-off-by: Naidu Tellapati <redacted>
Reviewed-by: Andrew Bresticker <redacted>

Two small comments you may want to fix if you need to re-spin the series though:
+static struct watchdog_info pdc_wdt_info = {
+       .options                = WDIOF_SETTIMEOUT |
+                                 WDIOF_KEEPALIVEPING |
+                                 WDIOF_MAGICCLOSE,
+       .identity = "IMG PDC Watchdog",
+};
Inconsistent spacing.
+       ret = watchdog_init_timeout(&pdc_wdt->wdt_dev, timeout, &pdev->dev);
+       if (ret < 0)
+               pdc_wdt->wdt_dev.timeout = pdc_wdt->wdt_dev.max_timeout;
Maybe print an error here?
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help