Re: [PATCH 00/18] RTC subsystem

Alessandro Zummo
2006-03-28T17:52:08Z

On Tue, 28 Mar 2006 11:17:51 -0600
Kumar Gala <galak@kernel.crashing.org> wrote:

> > No mechanism, an rtc is actually supposed to be running. You may want
> > to export a sysfs attribute from the ds1672 driver to inform
> > user space.
>
> Any suggestions on what to call it?

you can either use the name of the bit, according to the datasheet,
or "enabled".

> > I can't check it right now, but iirc I enable the ds1672 counting
> > bit in the driver init code.
>
> Hmm, I didn't see that. I was going to send a patch to have
> ds1672_set_mmss() always enable the counting bit.

please do. I'd appreciate if you can also add a check
for this bit on driver init and a printk to warn
the user if it is disabled.

thanks!

--

Best regards,

Alessandro Zummo,
Tower Technologies - Turin, Italy