]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: mcp795: fix bitmask value for leap year (LP).
authorEmil Bartczak <emilbart@gmail.com>
Wed, 7 Dec 2016 23:27:38 +0000 (00:27 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 18 Dec 2016 23:59:22 +0000 (00:59 +0100)
commit28a5286798f89780e2b7b6a4868e8bbba70c05a2
tree121024aa765aeb76c0bc4fc2b646334d91122372
parent289cbf64373c01c8970a53ccf1a41464b4ab109a
rtc: mcp795: fix bitmask value for leap year (LP).

According the datasheet the leap year is a fifth bit in month register.

Signed-off-by: Emil Bartczak <emilbart@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-mcp795.c