Philippe Mathieu-Daudé eb8377386d hw/misc/auxbus: Fix MOT/classic I2C mode
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 <balaton@eik.bme.hu>
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>
2021-07-08 14:15:01 -05:00
..
2019-08-16 13:31:52 +02:00
2021-05-02 17:24:50 +02:00
2021-03-12 12:48:56 +00:00
2019-08-16 13:31:52 +02:00
2020-09-09 09:27:09 -04:00
2021-02-20 12:36:19 +01:00
2020-12-08 13:48:57 -05:00
2021-02-08 15:15:32 +01:00