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)
commite72765c648a172f052486cba9688ddc28f23140b
tree121024aa765aeb76c0bc4fc2b646334d91122372
parentbcf18d88ac16c1a86bac7e8f5f4b1de1f752865f
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