summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorEmil Bartczak <emilbart@gmail.com>2016-12-08 02:27:37 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-12-19 02:59:22 +0300
commitbcf18d88ac16c1a86bac7e8f5f4b1de1f752865f (patch)
tree682300c7954114742262a5d310737f74a847a8b4 /security
parent0b6a8f5c9bebe51b95ff23939db570e8d298a36f (diff)
downloadlinux-bcf18d88ac16c1a86bac7e8f5f4b1de1f752865f.tar.xz
rtc: mcp795: use bcd2bin/bin2bcd.
Change rtc-mcp795.c to use the bcd2bin/bin2bcd functions. This change fixes the wrong conversion of month value from binary to BCD (missing right shift operation for 10 month). Signed-off-by: Emil Bartczak <emilbart@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions