diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2017-08-30 13:50:41 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-10-09 21:58:47 +0100 |
commit | 2e8325f489ab031a313cb4c21900b104e520bee5 (patch) | |
tree | 69679c37420094a1a382065cda5bb1cacc00aaed /arch/sparc | |
parent | 75d4c6d2e15d4455dfd5995c27e6e6ad6f214e39 (diff) |
iio: st_sensors: do not always write enable_axis register
New devices (e.g. LIS2DW12) enable all axis by default and do not export
that capability in register map. Check if the enable_axis register
address has been declared in st_sensor_settings map in order to verify if
the driver needs to enable all sensor axis
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions