iio: imu: st_lsm6dsx: move interrupt thread to core
authorSean Nyekjaer <sean@geanix.com>
Mon, 16 Sep 2019 13:56:26 +0000 (15:56 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 5 Oct 2019 11:23:58 +0000 (12:23 +0100)
commit6ee6a368ac0ad48dd5c5eca0e02739ac932a5b21
treec052f9f0de6cd5e5afab4e72aa1ab2a30bd67ddc
parente764fb4e20f9387d6a852cabf227f853f8e51bbe
iio: imu: st_lsm6dsx: move interrupt thread to core

This prepares the interrupt to be used for other stuff than
fifo reading + event readings.

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