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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



...

> > +
> > +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

> > +}
> > +

...




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux