commit | 95c12bba51c37359073b34f1a56fe396bd33d3cf | [log] [tgz] |
---|---|---|
author | Tiberiu Breana <tiberiu.a.breana@intel.com> | Wed Jun 24 17:01:48 2015 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jul 05 14:42:53 2015 +0100 |
tree | 7bbd5843ca0dbf0c344142c4be63fe100be933c0 | |
parent | db6a19b8251f089afcd40ed116ffdc2326f704a8 [diff] |
iio: accel: Add buffer mode for Sensortek STK8312 Added triggered buffer mode support for the STK8312 accelerometer. Additional changes: - set_mode now sets operation mode directly, no longer masking the register's previous value - read_accel now returns raw acceleration data instead of the sign_extend32 value - read_raw will now enable/disable the sensor with each reading Signed-off-by: Tiberiu Breana <tiberiu.a.breana@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>