summaryrefslogtreecommitdiffstats
path: root/include/hw/i2c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-06-17 13:53:33 +0200
committerCorey Minyard2021-07-08 21:15:01 +0200
commit265caf45c6157f6b23f16292152ed9da5d2d1982 (patch)
tree9fe6fd2a5756e3cefe53a0f4e50b6bf4d003950e /include/hw/i2c
parenthw/i2c: Make i2c_start_transfer() direction argument a boolean (diff)
downloadqemu-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