commit | f8ffea755c3377b2c4b1800c1709ddd98b19882c | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | Thu Jun 17 13:53:25 2021 +0200 |
committer | Corey Minyard <cminyard@mvista.com> | Thu Jul 08 14:15:01 2021 -0500 |
tree | 8992e04b2eaf81e77e15802624858350ae367801 | |
parent | c699bf610bf814de478e81e0f1f375b386170ff5 [diff] |
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>