diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2017-09-18 19:49:57 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-09-24 16:24:35 +0100 |
commit | 5e3c3e3382e87a637c5c9229b4b539dfbf81c64b (patch) | |
tree | 8f8fd70360bf1e7a5dcec91ceddd123a4b1e97fe /drivers/iio/trigger/stm32-timer-trigger.c | |
parent | ba272e3bbeaee3b34ca6c616f7ad8d3c65f33f79 (diff) | |
download | linux-5e3c3e3382e87a637c5c9229b4b539dfbf81c64b.tar.gz linux-5e3c3e3382e87a637c5c9229b4b539dfbf81c64b.tar.bz2 linux-5e3c3e3382e87a637c5c9229b4b539dfbf81c64b.zip |
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>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions