summaryrefslogtreecommitdiff
path: root/Documentation/kernel-per-CPU-kthreads.txt
diff options
context:
space:
mode:
authorEmil Bartczak <emilbart@gmail.com>2016-12-08 00:27:40 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-12-19 00:59:23 +0100
commit43d0b10f60c54667108729adb525bc1090d4238f (patch)
tree3e47d6827ebbb32f5de50893c7b91071457251db /Documentation/kernel-per-CPU-kthreads.txt
parent26eeefd5956449b03c87c49b996e012ffe3e59aa (diff)
rtc: mcp795: fix month write resetting date to 1.
According to Microchip errata some combinations of date and month values may result in the date being reset to 1, even if the date is also written with the month (for example 31-07 or 31-08). As a workaround avoid writing date and month values within the same Write command. Instead, terminate the Write command after loading the date and begin a new command to write the month. In addition, disable the oscillator before loading the new values. This is done by ensuring both the ST and EXTOSC bits are cleared and waiting for the OSCON bit to clear. Signed-off-by: Emil Bartczak <emilbart@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'Documentation/kernel-per-CPU-kthreads.txt')
0 files changed, 0 insertions, 0 deletions