commit | 618e0be1bac7ffe794242b422f7a9767f2a8be79 | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | Fri Aug 14 11:23:46 2020 +0200 |
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | Fri Aug 21 16:35:35 2020 +0200 |
tree | e16ef3db024ddf1ff92e38b4fa0976a9114dde2c | |
parent | 6505a91a77d4efcc6d54b35851abcb137cdca30a [diff] |
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>