commit | b648fe77d35c2c4559d5ea562926155c75c227d9 | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | Wed Jan 31 11:04:19 2007 +0100 |
committer | Kim Phillips <kim.phillips@freescale.com> | Fri Mar 02 11:05:54 2007 -0600 |
tree | c6eb6a476fd68ffe9a2cd8fb570332b21ff733c8 | |
parent | 435e3a7dc6574e908d1cb3ee9b2c6cf31e152437 [diff] |
mpc83xx: Fix empty i2c reads/writes in fsl_i2c.c Fix empty i2c reads/writes, i2c_write(0x50, 0x00, 0, NULL, 0) which is used to se if an slave will ACK after receiving its address. Correct i2c probing to use this method as the old method could upset a slave as it wrote a data byte to it. Add a small delay in i2c_init() to let the controller shutdown any ongoing I2C activity. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>