Hello,
I have connected battery gauge on the i2c-2 bus of the Torpedo Wireless. I am able to read gauge registers from application with read/write to file or from console with i2cget command, but sometimes I got some kernel warnings like:
omap_device: omap_i2c.2: new worst case deactivate latency 0: 122070
user.warn kernel: [ 420.015838] omap_device: omap_i2c.2: new worst case deactivate latency 0: 122070
or,
omap_device: omap_i2c.2: new worst case activate latency 0: 244140
user.warn kernel: [ 680.015106] omap_device: omap_i2c.2: new worst case activate latency 0: 244140
And "new worst case (de)activate latency" each time got higher value.
It seems like that Linux freezes, when this warning appear, because I have some streaming over WiFi, and in the same moment when this happen I lose couple of packets.
After some time (I suppose when latency is set to large enough value) this warnings doesn't appear, and I don't lose packets.
So, my questions are:
Why this happens?
How I can resolve this issue?
Is there any way to read this latency value and set to some higher value?
Regards,
Dragan