Skip to content
Commit 03c4cd6f authored by Zeng Jingxiang's avatar Zeng Jingxiang Committed by Alexandre Belloni
Browse files

rtc: spear: set range max

In the commit f395e1d3
("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: f395e1d3

 ("rtc: spear: set range")
Signed-off-by: default avatarZeng Jingxiang <linuszeng@tencent.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220728100101.1906801-1-zengjx95@gmail.com
parent 6492fed7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment