linux/drivers/iio/trigger
Fabrice Gasnier a359bb2a55 iio: trigger: stm32-timer: fix get trigger mode
Fix reading trigger mode, when other bit-fields are set. SMCR register
value must be masked to read SMS (slave mode selection) only.

Fixes: 9eba381 ("iio: make stm32 trigger driver use
INDIO_HARDWARE_TRIGGERED mode")

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-08-20 15:21:47 +01:00
..
iio-trig-hrtimer.c ktime: Cleanup ktime_set() usage 2016-12-25 17:21:22 +01:00
iio-trig-interrupt.c iio: trigger: free trigger resource correctly 2017-01-22 16:14:21 +00:00
iio-trig-loop.c iio:trigger: Experimental kthread tight loop trigger (thread only) 2016-06-03 13:18:44 +01:00
iio-trig-sysfs.c iio: trigger: free trigger resource correctly 2017-01-22 16:14:21 +00:00
Kconfig iio: Add STM32 timer trigger driver 2017-01-25 16:11:56 +00:00
Makefile iio: Add STM32 timer trigger driver 2017-01-25 16:11:56 +00:00
stm32-timer-trigger.c iio: trigger: stm32-timer: fix get trigger mode 2017-08-20 15:21:47 +01:00