Skip to content

Commit

Permalink
CRIS v10: Update driver for pcf8563
Browse files Browse the repository at this point in the history
- Use mutex instead of spinlock, fixes kernel bugzilla report 8339.
- Make sure that pcf8563_init can be called multiple times but only setup once.
- Change RTC_VLOW_RD -> RTC_VL_READ, RTC_VLOW_SET -> RTC_VL_CLR
- Cache the voltage low value at driver init so the battery status
  information does not get 'accidentally' cleared when setting the RTC time.
- Add weekday handling.
- Correct leapyear handling to include 100 and 400 year exceptions.
- Correct whitespace and formatting errors.
- Remove useless CVS id tag.
  • Loading branch information
Jesper Nilsson committed Feb 8, 2008
1 parent e5d5cf2 commit 34a8e50
Showing 1 changed file with 220 additions and 173 deletions.
Loading

0 comments on commit 34a8e50

Please sign in to comment.