diff options
| author | Tiberiu Breana <tiberiu.a.breana@intel.com> | 2015-06-24 17:01:48 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-05 14:42:53 +0100 |
| commit | 95c12bba51c37359073b34f1a56fe396bd33d3cf (patch) | |
| tree | 7bbd5843ca0dbf0c344142c4be63fe100be933c0 /include/linux/console_struct.h | |
| 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>
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions
