commit | 29ca2b0050e54f3e7cd67a13dde4e53eefd4cceb | [log] [tgz] |
---|---|---|
author | Daniel Mentz <danielmentz@google.com> | Thu Apr 30 20:11:59 2015 -0700 |
committer | Daniel Mentz <danielmentz@google.com> | Mon May 04 16:20:13 2015 -0700 |
tree | f0d0ec1e2a9fd9429e41a2d70d93988726741f32 | |
parent | 3ae959a0a4415a0c525be4b821c501b881bb144c [diff] |
lm63: msleep(100) before retrying SMBus operation Our experiments showed that the most common cause for failed SMBus operations is bad code that blocks interrupts for too long. As a result, the i2c driver fails to perform I2C operations in a timely manner. If such a situation occurs, just sleep for 100ms hoping that the situation has been resolved when we wake up and retry. Change-Id: Ifd0e6e06caad0e406e603b53fc3e8ededfd552f8