commit | 4e7019bd483d1bcd480538138798740e851588b1 | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | Thu Jun 17 13:53:23 2021 +0200 |
committer | Corey Minyard <cminyard@mvista.com> | Thu Jul 08 14:15:01 2021 -0500 |
tree | da04ef50bb8419480c61f344ebb1cbef7f55c10b | |
parent | e91113d0f9481c072f74e8390399e11b93856844 [diff] |
hw/display/sm501: 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>