On 06/09/2019 16.13, Lorenzo Bianconi wrote:
+int st_lsm6dsx_event_setup(struct st_lsm6dsx_hw *hw, int state) +{ + int err; + u8 enable = 0;here you do something like: if (!hw->settings->event_settings.enable_reg.addr) return -ENOSUPP;
Here we need to do something else the LSM6DS3 doesn't feature this enable register. My best guess it's enough to enable the routing of the interrupt in the MD register
/Sean