RE: [PATCH 1/2] drivers: rtc: add max313xx series rtc driver

From: Tilki, Ibrahim
Date: Thu Oct 20 2022 - 10:48:14 EST


...

> > +
> > +static int max313xx_wdt_ping(struct watchdog_device *wdd)
> > +{
> > + int ret;
> > +
> > + ret = max313xx_wdt_stop(wdd);
> > + if (ret)
> > + return ret;
> > +
> > + return max313xx_wdt_start(wdd);
>
> Having to stop a watchdog just to ping it is unusual. Is this really
> necessary ?
>

Unfortunately RTCs do not have any other way of resetting timer counter
other than restarting the timer.

Ibrahim

> > +}
> > +

...