diff options
author | Zeng Jingxiang <linuszeng@tencent.com> | 2022-07-28 13:01:01 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-08-09 01:56:41 +0300 |
commit | 03c4cd6f89e074a51e289eb9129ac646f0f2bd29 (patch) | |
tree | a78594a4be10678bce26f494aa773eeef3cd8b52 /drivers/rtc/lib.c | |
parent | 6492fed7d8c95f53b0b804ef541324d924d95d41 (diff) | |
download | linux-03c4cd6f89e074a51e289eb9129ac646f0f2bd29.tar.xz |
rtc: spear: set range max
In the commit f395e1d3b28d7c2c67b73bd467c4fb79523e1c65
("rtc: spear: set range"), the value of
RTC_TIMESTAMP_END_9999 was incorrectly set to range_min.
390 config->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000;
391 config->rtc->range_max = RTC_TIMESTAMP_END_9999;
Fixes: f395e1d3b28d ("rtc: spear: set range")
Signed-off-by: Zeng Jingxiang <linuszeng@tencent.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220728100101.1906801-1-zengjx95@gmail.com
Diffstat (limited to 'drivers/rtc/lib.c')
0 files changed, 0 insertions, 0 deletions