5ea5de62b7
commit e450e07c14abae563ad13b064cbce9fdccc6bc8d upstream.
Indeed, relying on addr being not 0 cannot work because some device have
their register to set odr at address 0. As a matter of fact, if the odr
can be set, then there is a mask.
Sensors with ODR register at address 0 are: lsm303dlh, lsm303dlhc, lsm303dlm
Fixes:
|
||
---|---|---|
.. | ||
cros_ec_sensors | ||
hid-sensors | ||
ms_sensors | ||
ssp_sensors | ||
st_sensors | ||
Kconfig | ||
Makefile |