diff options
author | Peter Delevoryas <pdel@fb.com> | 2022-06-30 09:21:14 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2022-06-30 09:21:14 +0200 |
commit | 0c0f1bee6a24cf36a019aefa26d849480a31c746 (patch) | |
tree | 863d093482f37c889b6702940b91c3adb2803c6f /include/hw/i2c/i2c.h | |
parent | b582b7a191f23c3f862c3b3aef96d6136508c07f (diff) | |
download | qemu-0c0f1bee6a24cf36a019aefa26d849480a31c746.zip qemu-0c0f1bee6a24cf36a019aefa26d849480a31c746.tar.gz qemu-0c0f1bee6a24cf36a019aefa26d849480a31c746.tar.bz2 |
hw/i2c/aspeed: Fix MASTER_EN missing error message
aspeed_i2c_bus_is_master is checking if master mode is enabled in the I2C
bus controller's function-control register, not that slave mode is enabled
or something. The error here is that the guest is trying to trigger an I2C
master mode command while master mode is not enabled.
Fixes: ba2cccd64e90f342 ("aspeed: i2c: Add new mode support")
Signed-off-by: Peter Delevoryas <pdel@fb.com>
Message-Id: <20220630045133.32251-4-me@pjd.dev>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw/i2c/i2c.h')
0 files changed, 0 insertions, 0 deletions