Re: [PATCH] hw/i2c/npcm7xx_smbus: Simplify npcm7xx_smbus_init()

2021-03-05 Thread Peter Maydell
On Sun, 28 Feb 2021 at 22:50, Philippe Mathieu-Daudé wrote: > > The STATUS register will be reset to IDLE in > cnpcm7xx_smbus_enter_reset(), no need to preset > it in instance_init(). > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/i2c/npcm7xx_smbus.c | 1 - > 1 file changed, 1 deletion(-)

Re: [PATCH] hw/i2c/npcm7xx_smbus: Simplify npcm7xx_smbus_init()

2021-03-01 Thread Hao Wu
On Sun, Feb 28, 2021 at 2:50 PM Philippe Mathieu-Daudé wrote: > The STATUS register will be reset to IDLE in > cnpcm7xx_smbus_enter_reset(), no need to preset > it in instance_init(). > > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Hao Wu > --- > hw/i2c/npcm7xx_smbus.c | 1 - > 1

[PATCH] hw/i2c/npcm7xx_smbus: Simplify npcm7xx_smbus_init()

2021-02-28 Thread Philippe Mathieu-Daudé
The STATUS register will be reset to IDLE in cnpcm7xx_smbus_enter_reset(), no need to preset it in instance_init(). Signed-off-by: Philippe Mathieu-Daudé --- hw/i2c/npcm7xx_smbus.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/i2c/npcm7xx_smbus.c b/hw/i2c/npcm7xx_smbus.c index