linux/drivers/iio/trigger
Fabrice Gasnier b7a9776c1f iio: trigger: stm32-timer: fix a corner case to write preset
Balance timer start routine that sets ARPE: clear it in stop routine.
This fixes a corner case, when timer is used successively as trigger
(with sampling_frequency start/stop routines), then as a counter
(with preset).

Fixes: 93fbe91b55 ("iio: Add STM32 timer trigger driver")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-09-24 13:09:57 +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 a corner case to write preset 2017-09-24 13:09:57 +01:00