]> www.infradead.org Git - users/dwmw2/qemu.git/commit
fix I2C slave addressing
authorJuha Riihimäki <Juha.Riihimaki@nokia.com>
Mon, 8 Jun 2009 06:27:19 +0000 (09:27 +0300)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 2 Dec 2009 16:24:48 +0000 (17:24 +0100)
commitbeb52700347ae9f8ee5988e64801a09b7f3db24a
treeff24869f5242de2d5ff8653123df94dec48f83f5
parentf2ab277bd18e4962fe99cc4e04af371e38fb8c4d
fix I2C slave addressing

With the recent device handling changes the I2C slave addressing code
was broken. With current code, if a slave with the correct address is

not found on the bus the last scanned slave on the bus will be
addressed. This is wrong. Please find attached a patch to fix it.

Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
Acked-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/i2c.c