diff options
author | Corey Minyard | 2018-08-20 22:26:03 +0200 |
---|---|---|
committer | Paolo Bonzini | 2018-08-23 18:46:25 +0200 |
commit | 00bdfeab1584e68bad76034e4ffc33595533fe7d (patch) | |
tree | 04ef73c77099ee4b3e74d0a638e795a0d29e3b19 /hw/i2c/aspeed_i2c.c | |
parent | i2c: pm_smbus: Fix the semantics of block I2C transfers (diff) | |
download | qemu-00bdfeab1584e68bad76034e4ffc33595533fe7d.tar.gz qemu-00bdfeab1584e68bad76034e4ffc33595533fe7d.tar.xz qemu-00bdfeab1584e68bad76034e4ffc33595533fe7d.zip |
i2c: pm_smbus: Make the I2C block read command read-only
It did have write capability, but the manual says the behavior
with write enabled is undefined. So just set an error in this
case.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1534796770-10295-4-git-send-email-minyard@acm.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i2c/aspeed_i2c.c')
0 files changed, 0 insertions, 0 deletions