diff options
author | Philippe Mathieu-Daudé | 2021-06-17 13:53:25 +0200 |
---|---|---|
committer | Corey Minyard | 2021-07-08 21:15:01 +0200 |
commit | f8ffea755c3377b2c4b1800c1709ddd98b19882c (patch) | |
tree | 8992e04b2eaf81e77e15802624858350ae367801 /hw/misc | |
parent | hw/i2c/ppc4xx_i2c: Add reference to datasheet (diff) | |
download | qemu-f8ffea755c3377b2c4b1800c1709ddd98b19882c.tar.gz qemu-f8ffea755c3377b2c4b1800c1709ddd98b19882c.tar.xz qemu-f8ffea755c3377b2c4b1800c1709ddd98b19882c.zip |
hw/i2c/ppc4xx_i2c: Replace i2c_send_recv() by i2c_recv() & i2c_send()
Instead of using the confuse i2c_send_recv(), rewrite to directly
call i2c_recv() & i2c_send(), resulting in code easier to review.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions