summaryrefslogtreecommitdiffstats
path: root/hw/i2c
diff options
context:
space:
mode:
authorCédric Le Goater2022-06-30 09:21:13 +0200
committerCédric Le Goater2022-06-30 09:21:13 +0200
commit6743af9b10cca1a436d8cfc6a15a15fa5de2b1fd (patch)
tree9b713e2dd5e60cc6cc2e7171478c3ff643759857 /hw/i2c
parentaspeed/scu: Add trace events for read ops (diff)
downloadqemu-6743af9b10cca1a436d8cfc6a15a15fa5de2b1fd.tar.gz
qemu-6743af9b10cca1a436d8cfc6a15a15fa5de2b1fd.tar.xz
qemu-6743af9b10cca1a436d8cfc6a15a15fa5de2b1fd.zip
aspeed/i2c: Change trace event for NORMAL_STOP states
Using a 'stop' string seems more appropriate than 'normal'. Reviewed-by: Peter Delevoryas <pdel@fb.com> Message-Id: <20220628154740.1117349-3-clg@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/i2c')
-rw-r--r--hw/i2c/aspeed_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/aspeed_i2c.c b/hw/i2c/aspeed_i2c.c
index 37ae1f2e04..9b41bc3896 100644
--- a/hw/i2c/aspeed_i2c.c
+++ b/hw/i2c/aspeed_i2c.c
@@ -58,7 +58,7 @@ static inline void aspeed_i2c_bus_raise_interrupt(AspeedI2CBus *bus)
ARRAY_FIELD_EX32(bus->regs, I2CD_INTR_STS, SLAVE_ADDR_RX_MATCH) ?
"slave-match|" : "",
SHARED_ARRAY_FIELD_EX32(bus->regs, reg_intr_sts, NORMAL_STOP) ?
- "normal|" : "",
+ "stop|" : "",
SHARED_ARRAY_FIELD_EX32(bus->regs, reg_intr_sts, ABNORMAL) ?
"abnormal" : "");