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]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux