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

2020-06-02 Thread Heiko Schocher
Hello Rasmus, Am 02.06.2020 um 21:14 schrieb 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. Reviewed-by: Simon Glass Signed-off-by: Rasmus Villemoes ---

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

2020-06-02 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. Reviewed-by: Simon Glass Signed-off-by: Rasmus Villemoes --- drivers/rtc/i2c_rtc_emul.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)