Re: [PATCH 05/11] hw/rtc/ls7a_rtc: Fix rtc enable and disable function

2022-07-03 Thread Richard Henderson
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 --- hw/rtc/ls7a_rtc.c | 60

[PATCH 05/11] hw/rtc/ls7a_rtc: Fix rtc enable and disable function

2022-07-01 Thread Xiaojuan Yang
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 --- hw/rtc/ls7a_rtc.c | 60