commit | 0ac554b9be9fd340aa59e0d6a311986afcea40cf | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Wed Nov 07 20:13:24 2007 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Wed Nov 07 20:13:24 2007 +0900 |
tree | 404f2eb2dc2482dbde88b814e9f44462816f1d1c | |
parent | 29dd0dae507f73f305aaea765f975eafd1fa5493 [diff] |
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: Paul Mundt <lethal@linux-sh.org>