diff options
| author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-09-18 13:05:31 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-09-24 15:09:57 +0300 |
| commit | b7a9776c1f9443326632486fcbd82dca82f8511e (patch) | |
| tree | c189564527a6dd09e643d384d0d2c4e3443f8f5e /lib/mpi/mpicoder.c | |
| parent | 0a56eabc4e3f730782e4a9f3af4f60aa03a8a849 (diff) | |
| download | linux-b7a9776c1f9443326632486fcbd82dca82f8511e.tar.xz | |
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: 93fbe91b5521 ("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>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
