diff options
| author | mattis fjallstrom <mattis@acm.org> | 2015-12-09 15:44:40 -0800 |
|---|---|---|
| committer | mattis fjallstrom <mattis@acm.org> | 2015-12-11 16:10:21 -0800 |
| commit | b258e74fe4251438954e0fc08575f4b15ab35605 (patch) | |
| tree | fdd8f57a3d018d2e22559cae72d5f6ee4c68afc9 /drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_buffer.c | |
| parent | 287a33501983068c15007483389436106285cc55 (diff) | |
| download | olio-linux-3.10-b258e74fe4251438954e0fc08575f4b15ab35605.tar.xz olio-linux-3.10-b258e74fe4251438954e0fc08575f4b15ab35605.zip | |
ST lsm6ds3 fixes. Moved IRQ registration to end of probe, changed 6d push function to use '01,01,01' as the 6d signifier
Change-Id: Ia162ef14178cda4d9a19a72159f1d0e3bcbbcd0f
Diffstat (limited to 'drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_buffer.c')
| -rw-r--r-- | drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_buffer.c b/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_buffer.c index eb080d4b8f9..b89141689a1 100644 --- a/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_buffer.c +++ b/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_buffer.c @@ -160,7 +160,7 @@ void st_lsm6ds3_push_tap_to_fifo(struct lsm6ds3_data *cdata) void st_lsm6ds3_push_d6d_to_fifo(struct lsm6ds3_data *cdata) { - u8 d6d_signature[6] = {1}; + u8 d6d_signature[6] = {0,1,0,1,0,1}; dev_info(cdata->dev, "Sending 6d event through accel data @:%llu", cdata->accel_timestamp-1); st_lsm6ds3_push_data_with_timestamp( cdata, ST_INDIO_DEV_ACCEL, |