commit | 5e3c3e3382e87a637c5c9229b4b539dfbf81c64b | [log] [tgz] |
---|---|---|
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | Mon Sep 18 19:49:57 2017 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Sep 24 16:24:35 2017 +0100 |
tree | 8f8fd70360bf1e7a5dcec91ceddd123a4b1e97fe | |
parent | ba272e3bbeaee3b34ca6c616f7ad8d3c65f33f79 [diff] |
iio: imu: st_lsm6dsx: set sensor->odr value just in st_lsm6dsx_write_raw() Update odr value in st_lsm6dsx_sensor data structure just in st_lsm6dsx_write_raw() in order to avoid to set the same value multiple times Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>