On 6/16/21 9:14 AM, Philippe Mathieu-Daudé wrote:
Since its introduction in commit 6fc7f77fd2 i2c_start_transfer()
uses incorrectly the direction of the transfer (the last argument
is called 'is_recv'). Fix by inverting the argument, we now have
is_recv = !is_write.

Fixes: 6fc7f77fd2 ("introduce aux-bus")
Reported-by: BALATON Zoltan<bala...@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé<f4...@amsat.org>
---
  hw/misc/auxbus.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to