linux/drivers/media
Eric Nelson 3fb136f339 [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 <eric@nelint.com>
Acked-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-11-19 07:46:33 -02:00
..
common [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
dvb-core [media] media: dvb-core: Don't force CAN_INVERSION_AUTO in oneshot mode 2015-11-18 13:27:03 -02:00
dvb-frontends [media] stb6100: get rid of get_state()/set_state() 2015-11-17 06:45:05 -02:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c [media] s5c73m3-spi: fix compilation breakage when compiled as Module 2015-11-18 16:49:18 -02:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] ddbridge: fix wait_event_timeout return handling 2015-11-18 12:21:29 -02:00
platform [media] c8sectpfe: Update binding to reset-gpios 2015-11-18 13:32:58 -02:00
radio [media] radio-shark2: constify radio_tea5777_ops structures 2015-11-17 14:52:15 -02:00
rc [media] rc: gpio-ir-recv: add timeout on idle 2015-11-19 07:46:33 -02:00
tuners [media] dvb_frontend: get rid of set_state ops & related data 2015-11-17 06:46:02 -02:00
usb [media] v4l2-clk: add new definition: V4L2_CLK_NAME_SIZE 2015-11-17 15:19:11 -02:00
v4l2-core [media] v4l2-clk: v4l2_clk_get() also need to find the of_fullname clock 2015-11-17 15:19:52 -02:00
Kconfig media updates for v4.2-rc1 2015-06-25 17:55:48 -07:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media-entity.c: get rid of var length arrays 2015-10-01 18:10:05 -03:00