Files
OpenCellular/driver
Yidi Lin 1d8fcd4fab driver: kionix: Add checking whoami value at initialization.
spi_transaction() always returns success even without the sensor.
Check whoami value to make sure that the sensor is existed.

BUG=none
BRANCH=none
TEST=remove LID accel sensor from elm and see init failed log.
[1.258973 Lid Accel: 1: init failed: 4]

Change-Id: I55aa35bc9790e5dec61e22aa2f51243e29368a86
Signed-off-by: Yidi Lin <yidi.lin@mediatek.com>
Reviewed-on: https://chromium-review.googlesource.com/453579
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
2017-03-13 22:40:00 -07:00
..
2017-02-06 14:50:32 -08:00
2016-09-23 15:10:08 -07:00
2016-09-23 15:10:08 -07:00
2017-02-13 21:15:16 -08:00
2017-02-13 21:15:16 -08:00
2016-09-23 15:10:08 -07:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2017-02-13 21:15:16 -08:00
2017-02-13 21:15:16 -08:00
2016-08-24 17:40:52 -07:00