fix I2C slave addressing
authorJuha Riihimäki <juha.riihimaki@nokia.com>
Mon, 8 Jun 2009 15:32:39 +0000 (18:32 +0300)
committerRiku Voipio <riku.voipio@nokia.com>
Mon, 8 Jun 2009 15:41:26 +0000 (18:41 +0300)
commit8b74e2114c9c4b3a2382cda1d82e099b14b0d5e6
tree7db16142f77b1c9a3f2f64eb71c96408865f3a98
parent759b334a9739814df2883aa4c41b1c0f5670e90a
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.
hw/i2c.c