aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorEric Nelson <[email protected]>2015-09-23 11:07:08 -0300
committerMauro Carvalho Chehab <[email protected]>2015-11-19 07:46:33 -0200
commit3fb136f3392dfb2530fd490718b0652f1001b36b (patch)
treea10d27b48f979a03814e6678c7682b40a1451d3d /tools/perf/scripts/python/event_analyzing_sample.py
parentc8e1bbc52d259a07a81b0f845191ee901ff44e01 (diff)
[media] rc: gpio-ir-recv: add timeout on idle
Many decoders require a trailing space (period without IR illumination) to be delivered before completing a decode. Since the gpio-ir-recv driver only delivers events on gpio transitions, a single IR symbol (caused by a quick touch on an IR remote) will not be properly decoded without the use of a timer to flush the tail end state of the IR receiver. This patch initializes and uses a timer and the timeout field of rcdev to complete the stream and allow decode. The timeout can be overridden through the use of the LIRC_SET_REC_TIMEOUT ioctl. Signed-off-by: Eric Nelson <[email protected]> Acked-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions