diff options
author | Philippe Mathieu-Daudé | 2021-06-17 13:53:33 +0200 |
---|---|---|
committer | Corey Minyard | 2021-07-08 21:15:01 +0200 |
commit | 265caf45c6157f6b23f16292152ed9da5d2d1982 (patch) | |
tree | 9fe6fd2a5756e3cefe53a0f4e50b6bf4d003950e /include/hw/i2c | |
parent | hw/i2c: Make i2c_start_transfer() direction argument a boolean (diff) | |
download | qemu-265caf45c6157f6b23f16292152ed9da5d2d1982.tar.gz qemu-265caf45c6157f6b23f16292152ed9da5d2d1982.tar.xz qemu-265caf45c6157f6b23f16292152ed9da5d2d1982.zip |
hw/i2c: Extract i2c_do_start_transfer() from i2c_start_transfer()
To allow further simplications, extract i2c_do_start_transfer()
from i2c_start_transfer(). This is mostly the same function,
but the former is static and takes an enum argument.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'include/hw/i2c')
0 files changed, 0 insertions, 0 deletions