diff options
author | Ilya Ledvich <ilya@compulab.co.il> | 2019-11-01 10:54:22 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-11-08 16:14:09 +0100 |
commit | 394c051d0fe2d94254522514d4454338f266e98d (patch) | |
tree | 14a1d1e33097e68a60fa7b1e9f2b278879bffd28 /drivers/rtc/rtc-imx-sc.c | |
parent | rtc: brcmstb-waketimer: add missed clk_disable_unprepare (diff) | |
download | linux-394c051d0fe2d94254522514d4454338f266e98d.tar.xz linux-394c051d0fe2d94254522514d4454338f266e98d.zip |
rtc: em3027: correct month value
The RTC month value is 1-indexed, but the kernel assumes it is 0-indexed.
This may result in the RTC not rolling over correctly.
Signed-off-by: Ilya Ledvich <ilya@compulab.co.il>
Reviewed-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Link: https://lore.kernel.org/r/20191101095422.14787-1-ilya@compulab.co.il
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-imx-sc.c')
0 files changed, 0 insertions, 0 deletions