Re: [PATCH v2 08/10] rtc: i2c_rtc_emul: catch any write to the "reset" register

2020-05-31 Thread Simon Glass
On Tue, 19 May 2020 at 16:01, Rasmus Villemoes wrote: > > It's more natural that any write that happens to touch the reset > register should cause a reset, rather than just a write that starts at > that offset. > > Signed-off-by: Rasmus Villemoes > --- > drivers/rtc/i2c_rtc_emul.c | 3 ++- > 1

[PATCH v2 08/10] rtc: i2c_rtc_emul: catch any write to the "reset" register

2020-05-19 Thread Rasmus Villemoes
It's more natural that any write that happens to touch the reset register should cause a reset, rather than just a write that starts at that offset. Signed-off-by: Rasmus Villemoes --- drivers/rtc/i2c_rtc_emul.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git