diff options
author | Maciej W. Rozycki <[email protected]> | 2018-11-07 02:39:13 +0000 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2018-11-14 10:44:32 +0100 |
commit | 3cc9ffbb1f51eb4320575a48e4805a8f52e0e26b (patch) | |
tree | b3a6ae98136b57bef61d20127ea8e67e90511055 /tools/perf/util/c++/clang.cpp | |
parent | 03f39f47dc86fc4defbf9b97f8417f192d1ccba6 (diff) |
rtc: m41t80: Correct alarm month range with RTC reads
Add the missing adjustment of the month range on alarm reads from the
RTC, correcting an issue coming from commit 9c6dfed92c3e ("rtc: m41t80:
add alarm functionality"). The range is 1-12 for hardware and 0-11 for
`struct rtc_time', and is already correctly handled on alarm writes to
the RTC.
It was correct up until commit 48e9766726eb ("drivers/rtc/rtc-m41t80.c:
remove disabled alarm functionality") too, which removed the previous
implementation of alarm support.
Signed-off-by: Maciej W. Rozycki <[email protected]>
Fixes: 9c6dfed92c3e ("rtc: m41t80: add alarm functionality")
References: 48e9766726eb ("drivers/rtc/rtc-m41t80.c: remove disabled alarm functionality")
Cc: [email protected] # 4.7+
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions