Skip to content
Commit 0ac554b9 authored by Paul Mundt's avatar Paul Mundt
Browse files

rtc: rtc-sh: Zero out tm value for invalid rtc states.



Follows the changes of some of the other RTC drivers. If the tm
value is bogus, just zero it out. Adds some sanity for RTC_RD_TIME.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 29dd0dae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment