diff options
author | Corey Minyard <cminyard@mvista.com> | 2018-08-20 15:26:07 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-08-23 18:46:25 +0200 |
commit | 12bd93c150239020803b1ae08af819cd38e55360 (patch) | |
tree | 415721f08d42a3d1401c1bacffea7f8170cf6d1e /hw/i2c/smbus_ich9.c | |
parent | e724385a7071483b95c3cc8a33d130f781daa217 (diff) | |
download | qemu-12bd93c150239020803b1ae08af819cd38e55360.zip qemu-12bd93c150239020803b1ae08af819cd38e55360.tar.gz qemu-12bd93c150239020803b1ae08af819cd38e55360.tar.bz2 |
i2c: pm_smbus: Don't delay host status register busy bit when interrupts are enabled
Change 880b1ffe6ec2f0ae "smbus: do not immediately complete commands"
changed pm_smbus to delay setting the host busy bit until the status
register was read, to work around a bug in AMIBIOS. Unfortunately,
when interrupts are enabled, the status register will never get read
and the processing will never happen.
Modify the code to only delay setting the host busy bit if interrupts
are not enabled.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Hervé Poussineau <hpoussin@reactos.org>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1534796770-10295-8-git-send-email-minyard@acm.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i2c/smbus_ich9.c')
0 files changed, 0 insertions, 0 deletions