LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Could not set I2C Bus Busy bit to zero (https://www.linuxquestions.org/questions/linux-newbie-8/could-not-set-i2c-bus-busy-bit-to-zero-761759/)

mist_4u 10-14-2009 02:48 AM

Could not set I2C Bus Busy bit to zero
 
I am using the i2c to communicate with my device. There is no error as such but a lot of warning messages "I2C adapter i2c-0: Could not set I2C Bus Busy bit to zero." coming from the i2c driver. Is there a way to get ride of these warnings?
My linux kernel version is 2.6.28.

smeezekitty 10-14-2009 08:04 PM

AFAIK
if you try to set the bit to zero
it will just set the bit back to one on the next clock tick

mist_4u 10-15-2009 12:00 AM

in linux-2.6.26/drivers/i2c/busses/mxc_i2c.c there is a function mxc_i2c_stop() that prints the above warning when 16 retries fail. I trying to figure out a way to get rid of this warning if possible and save some clock cycles.


All times are GMT -5. The time now is 05:18 PM.