diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2017-09-17 19:17:10 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-10-10 22:39:28 +0300 |
commit | 7d245172675a66bf3dc7f8fa51e81f80559a40a3 (patch) | |
tree | 8cf0e53dcc6bd8fddafd824e1555fde55af35ae1 /fs | |
parent | a542f9a04d30570d367770e34f2c5d0c1d313337 (diff) | |
download | linux-7d245172675a66bf3dc7f8fa51e81f80559a40a3.tar.xz |
iio: common: st_sensors: check odr address value in st_sensors_set_odr()
Do not try to configure sample frequency if the sensor do not export
odr register address in register map. That change will be used to
properly support LIS3DHH accel sensor.
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions