From b6602fe7788593d7c5e02ae7bb5616ebc6f63f2c Mon Sep 17 00:00:00 2001 From: mattis fjallstrom Date: Wed, 9 Dec 2015 15:44:40 -0800 Subject: 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 Signed-off-by: Evan Wilson --- drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_buffer.c') 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, -- cgit v1.2.3-70-g09d2