diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2021-09-08 11:04:09 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-23 17:13:56 +0000 |
commit | da30d626148052f116da26301569f2897c70e66f (patch) | |
tree | 5ff1a1e87a95d0e980e35c581fbd14580ed7f80c /driver/accelgyro_lsm6dsm.h | |
parent | b5f74864dbcf3d7980f9d5d5bc7edb9dc2513d88 (diff) | |
download | chrome-ec-da30d626148052f116da26301569f2897c70e66f.tar.gz |
driver: lsm6dsm: remove load_fifo_sensor_state_t
Remove load_fifo_sensor_state_t since timestamp spreading is done in
common code.
Fixes: 4e6d315948 ("common: motion_sense: Spread timestamps in motion sense fifo")
BUG=b:172342141
BRANCH=none
TEST=buildall
Change-Id: If47fdd5dc800e6b75bdea4fcef80cf6874debdaa
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3150052
Reviewed-by: Yuval Peress <peress@google.com>
Diffstat (limited to 'driver/accelgyro_lsm6dsm.h')
-rw-r--r-- | driver/accelgyro_lsm6dsm.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/driver/accelgyro_lsm6dsm.h b/driver/accelgyro_lsm6dsm.h index add3104adf..81d44c3239 100644 --- a/driver/accelgyro_lsm6dsm.h +++ b/driver/accelgyro_lsm6dsm.h @@ -293,17 +293,6 @@ struct lsm6dsm_fifo_data { int total_samples_in_pattern; }; -/* - * Structure used to maintain the load state per sensor. This will be used to - * properly spread values in case we have more than one reading for a given - * sensor in a single fifo read pass. - */ -struct load_fifo_sensor_state_t { - uint32_t int_timestamp; - uint8_t sample_count; - int sample_rate; -}; - /** * Structure used to hold fifo state. This struct should only be used if * CONFIG_ACCEL_FIFO is defined. @@ -317,7 +306,6 @@ struct lsm6dsm_accel_fifo_state { * initial samples with incorrect values */ unsigned int samples_to_discard[FIFO_DEV_NUM]; - struct load_fifo_sensor_state_t load_fifo_sensor_state[FIFO_DEV_NUM]; }; /* |