Files
OpenCellular/common
Randall Spangler e2f8466997 Handle bus errors on thermal I2C bus
1) Properly report I2C errors on TMP006 as error, not device-not-powered.

2) Treat clock timeout and bus-busy I2C status as error (previously ignored).

3) If clock timeout or bus-busy, reset I2C master for that bus to clear the
error.

These should help with systems where the thermal I2C bus gets into a
weird state on suspend/resume.

BUG=chrome-os-partner:16262
BRANCH=link

TEST=boot system; 'battery' and 'temps' should give good info
Then run snanda's suspend_stress_test for a while and repeat.

Change-Id: I534be8236a4d6de82575fe6d33a68502ce0a3a95
Original-Change-Id: Iec5d6bbd357d2e5eb3dc3d361c829f353e996ab6
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/38444
Reviewed-on: https://gerrit.chromium.org/gerrit/38659
Reviewed-by: Yung-Chieh Lo <yjlou@chromium.org>
2012-11-26 14:49:49 -08:00
..
2012-10-24 10:09:20 -07:00
2012-10-26 09:49:38 -07:00
2012-10-26 09:49:38 -07:00
2012-07-17 13:11:44 -07:00
2012-07-17 13:11:44 -07:00
2012-10-25 11:24:04 -07:00
2012-10-24 19:07:20 -07:00
2012-10-29 16:52:49 -07:00
2012-10-25 11:24:02 -07:00
2012-10-30 15:33:25 -07:00
2012-10-25 11:23:59 -07:00
2012-10-23 17:32:01 -07:00
2012-10-29 16:52:49 -07:00
2012-10-26 09:49:38 -07:00
2012-10-25 14:12:11 -07:00
2012-10-25 14:12:10 -07:00
2012-10-25 17:03:44 -07:00
2012-08-09 17:40:37 -07:00
2012-10-29 16:52:49 -07:00
2012-10-30 12:42:43 -07:00
2012-11-26 14:49:49 -08:00
2012-10-26 09:49:37 -07:00
2012-07-23 23:30:33 -07:00
2012-10-25 17:03:44 -07:00