[RFC v4 13/26] watchdog: renesas_wdt: Add restart handler
Wolfram Sang
wsa at the-dreams.de
Mon Feb 12 02:54:56 PST 2018
> > I used to have this simpler version (back then for the UP case):
> >
> > +rwdt_start(wdev);
> > +rwdt_write(priv, 0xffff, RWTCNT);
> > +return 0;
> >
> > It should still work probably...
>
> It should still work, but it would be slower, I would stick with the
> version I have submitted if you don't mind.
Actually, I do mind. Because of code duplication reasons. We have a fix
in the works for rwdt_start() and it would be too easy to overlook the
same fix will be needed for a restart.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180212/2d35a33c/attachment.sig>
More information about the linux-arm-kernel
mailing list