aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/debug.h
diff options
context:
space:
mode:
authorFabrice Gasnier <[email protected]>2017-09-18 10:05:31 +0000
committerJonathan Cameron <[email protected]>2017-09-24 12:09:57 +0000
commitb7a9776c1f9443326632486fcbd82dca82f8511e (patch)
treec189564527a6dd09e643d384d0d2c4e3443f8f5e /tools/lib/api/debug.h
parentiio: trigger: stm32-timer: preset shouldn't be buffered (diff)
downloadkernel-b7a9776c1f9443326632486fcbd82dca82f8511e.tar.gz
kernel-b7a9776c1f9443326632486fcbd82dca82f8511e.zip
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 <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.h')
0 files changed, 0 insertions, 0 deletions