iio: imu: st_lsm6dsx: enable LIR for sensor events
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 11 Sep 2019 06:50:03 +0000 (08:50 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Sep 2019 10:56:25 +0000 (11:56 +0100)
commit9db02d32b8eedb4441f79cb2a1696344060c1b78
tree21183830bb1adbd463e7090fb85f279b473c4aaa
parentc270bbf7bb9ddc4e2a51b3c56557c377c9ac79bc
iio: imu: st_lsm6dsx: enable LIR for sensor events

Enable Latched interrupt by default for sensor events

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Tested-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c