Unverified Commit 3dd53efe authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3170 [OLK-6.6] rtc: Fix set RTC time delay 500ms on some Zhaoxin SOCs

Merge Pull Request from: @leoliu-oc 
 
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.

### Issue
https://gitee.com/openeuler/kernel/issues/I8WYLR

### Test
Pass: RTC resume correct operation 
 
Link:https://gitee.com/openeuler/kernel/pulls/3170

 

Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents 3c696c11 67636158
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment