Hi, all. I am trying to implement the i2c driver for camera driver in msm7xxx. msm_i2c_probe( ) is ok but when I try to call msm_i2c_xfer( ) in i2c_msm.c by using i2c_transfer( ) in i2c_core.c then the msm_i2c_poll_notbusy( ) function always returns fail. when I read the status of i2c(e.g. readl(dev->base+I2C_STATUS)), that value is 0x2100, so the bit mask I2C_STATUS_BUS_ACTIVE is set. How can I avoid this time-out in msm_i2c_poll_notbusy( )?
thank you. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---