Commit e4a4ab2a authored by LeoLiu-oc's avatar LeoLiu-oc Committed by leoliuoc
Browse files

rtc: Fix set RTC time delay 500ms on some Zhaoxin SOCs

zhaoxin inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I54V04


CVE: NA

----------------------------------------------------------------

When the RTC divider is changed from reset to an operating time base,
the first update cycle should be 500ms later. But on some Zhaoxin SOCs,
this first update cycle is one second later.
So set RTC time on these Zhaoxin SOCs will causing 500ms delay.
Skip setup RTC divider on these SOCs in mc146818_set_time to fix it.

Signed-off-by: default avatarLeoLiu-oc <LeoLiu-oc@zhaoxin.com>
parent b8db4a27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment