diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-18 16:49:59 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-03 14:03:01 +0200 |
commit | 05095ece6f726dfd2244d4ed1b7e47e35ba7a922 (patch) | |
tree | a70a3c27fd2534ae58753ad652cb4aea299d614e /crypto/hash-glib.c | |
parent | e8ecb706a8a3a75ea45387a3561b6debed9cacc3 (diff) | |
download | qemu-05095ece6f726dfd2244d4ed1b7e47e35ba7a922.zip |
libqos: fix omap-i2c receiving more than 4 bytes
If more than 4 bytes are received, the FIFO cannot host the entire
contents of the transfer and STP will be nonzero before entering
the transfer loop. Also, CNT will contain the number of bytes
left to be transferred instead of the total number of bytes in
the transfer.
(Reverse engineered from the omap_i2c.c source code; no available
datasheet).
This will fix ds1338-test for omap-i2c.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'crypto/hash-glib.c')
0 files changed, 0 insertions, 0 deletions