diff options
Diffstat (limited to 'hw/omap_i2c.c')
-rw-r--r-- | hw/omap_i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/omap_i2c.c b/hw/omap_i2c.c index f3ccbf0549..127e69ca0a 100644 --- a/hw/omap_i2c.c +++ b/hw/omap_i2c.c @@ -395,6 +395,7 @@ static void omap_i2c_write(void *opaque, target_phys_addr_t addr, (~value >> 9) & 1); /* TRX */ s->stat |= nack << 1; /* NACK */ s->control &= ~(1 << 0); /* STT */ + s->fifo = 0; if (nack) s->control &= ~(1 << 1); /* STP */ else { |