diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-08-14 11:23:46 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-08-21 16:35:35 +0200 |
commit | 618e0be1bac7ffe794242b422f7a9767f2a8be79 (patch) | |
tree | e16ef3db024ddf1ff92e38b4fa0976a9114dde2c /bsd-user | |
parent | 6505a91a77d4efcc6d54b35851abcb137cdca30a (diff) | |
download | qemu-618e0be1bac7ffe794242b422f7a9767f2a8be79.zip qemu-618e0be1bac7ffe794242b422f7a9767f2a8be79.tar.gz qemu-618e0be1bac7ffe794242b422f7a9767f2a8be79.tar.bz2 |
hw/sd: Use sdbus_read_data() instead of sdbus_read_byte() when possible
Use the recently added sdbus_read_data() to read multiple
bytes at once, instead of looping calling sdbus_read_byte().
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200814092346.21825-8-f4bug@amsat.org>
Diffstat (limited to 'bsd-user')
0 files changed, 0 insertions, 0 deletions