Home
last modified time | relevance | path

Searched hist:"618 e0be1bac7ffe794242b422f7a9767f2a8be79" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/sd/
H A Dallwinner-sdhost.cdiff 618e0be1bac7ffe794242b422f7a9767f2a8be79 Fri Aug 14 04:23:46 CDT 2020 Philippe Mathieu-Daudé <f4bug@amsat.org> 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>
H A Dsdhci.cdiff 618e0be1bac7ffe794242b422f7a9767f2a8be79 Fri Aug 14 04:23:46 CDT 2020 Philippe Mathieu-Daudé <f4bug@amsat.org> 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>