|
From: | Richard Henderson |
Subject: | Re: [PATCH 05/11] hw/rtc/ls7a_rtc: Fix rtc enable and disable function |
Date: | Mon, 4 Jul 2022 10:44:47 +0530 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 7/1/22 15:04, Xiaojuan Yang wrote:
Fix ls7a rtc enable and disable function. When rtc disabled, it do not support to read or write, but the real time is still continue, so we need not neither save the time nor update the rtc offset. Signed-off-by: Xiaojuan Yang<yangxiaojuan@loongson.cn> --- hw/rtc/ls7a_rtc.c | 60 ++++++----------------------------------------- 1 file changed, 7 insertions(+), 53 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |