Hello,
while applying d68778b80dd7 ("rtc: initialize output parameter for read
alarm to "uninitialized"") to the Debian kernel Ben Hutchings wondered
if there are drivers that rely on .tm_sec being initialized to 0.
I checked this now an found a few that do.
The hym8563 already used -1 explicitly, it is fixed in a separate patch.
Uwe Kleine-König (2):
rtc: explicitly set tm_sec = 0 for drivers with minute accurancy
rtc: hym8563: in .read_alarm set .tm_sec to 0 to signal minute
accuracy
drivers/rtc/rtc-da9052.c | 1 +
drivers/rtc/rtc-da9055.c | 1 +
drivers/rtc/rtc-davinci.c | 2 ++
drivers/rtc/rtc-hym8563.c | 2 +-
drivers/rtc/rtc-pcf8563.c | 1 +
drivers/rtc/rtc-rc5t583.c | 1 +
6 files changed, 7 insertions(+), 1 deletion(-)
--
2.8.1
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups
"rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.