summaryrefslogtreecommitdiff
path: root/include/linux/circ_buf.h
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-12-30 09:26:15 -0800
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:54:18 -0800
commit519ee1a3431cf4efc52f33edf3171c9666bd0ee2 (patch)
treed96d4886731a24ce1e267ce1cf05208141d9f7ce /include/linux/circ_buf.h
parent84360d613010e7a363a06c8f7a555bbdf6824440 (diff)
ANDROID: rtc-palmas: correct for bcd year
Replace bcd2bin and bin2bcd with one that maps years 1970 to 2129 in a pattern that works with the underlying hardware. The only transition that does not work correctly for this rtc clock is the transition from 2099 to 2100, it proceeds to 2000. The rtc clock retains and transitions the year correctly in all other circumstances. Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 26346842 Change-Id: Ie527700190b1ae4b4bc3c12279d875aa5985b168
Diffstat (limited to 'include/linux/circ_buf.h')
0 files changed, 0 insertions, 0 deletions