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<yangxiaoj...@loongson.cn>
---
  hw/rtc/ls7a_rtc.c | 60 ++++++-----------------------------------------
  1 file changed, 7 insertions(+), 53 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to