8xx: i2c-algo-8xx - fixed timeout detection and transmission errors
Hello, Tjernlund
Quoted 9 lines · In message <2005-08-12 01:50:45 [email protected]> you wrote:
Try changing all
i2c->i2c_i2com|=0x80; /* Begin transmission */
to
i2c->i2c_i2com|=0x80|0x01; /* Begin transmission */That should remove the need to do
force_reinit(cpm)I hope.
See http://ozlabs.org/pipermail/linuxppc-embedded/2005-August/019600.html for a litte more info.Also, I think you should remove the busy wait code. Its not needed IMHO.
update i2c_algo_8xx.c as same
= = = = = = = = = = = = = = = = = = = =
����������������Debora Liu
����������������[email protected]
��������������������2005-08-12