]> 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)
commit98e496647684365630f6b4d8c1d57c2c18e59c49
tree121024aa765aeb76c0bc4fc2b646334d91122372
parent6c8d78841c10fa4b15bab1a1d8954eb30d4f2035
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