linux/drivers/media
Algea Cao 8a11dfd7bc UPSTREAM: media: cec: rework the cec event handling
Event handling was always fairly simplistic since there were only
two events. With the addition of pin events this needed to be redesigned.

The state_change and lost_msgs events are now core events with the
guarantee that the last state is always available. The new pin events
are a queue of events (up to 64 for each event) and the oldest event
will be dropped if the application cannot keep up. Lost events are
marked with a new event flag.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
(cherry picked from commit 6b2bbb0874)

Change-Id: I922f9ef9ae718ed93e02556cc007b2d943c5b11d
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2017-12-27 16:38:53 +08:00
..
cec UPSTREAM: media: cec: rework the cec event handling 2017-12-27 16:38:53 +08:00
common rk: revert to v3.10 2015-11-11 15:57:28 +08:00
dvb-core media: dvb_ringbuffer: Add memory barriers 2016-08-20 18:09:18 +02:00
dvb-frontends dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops 2017-05-25 14:30:14 +02:00
firewire
i2c Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-12-01 11:04:13 +08:00
mmc
pci bt8xx: fix memory leak 2017-11-08 10:06:30 +01:00
platform Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-12-01 11:04:13 +08:00
radio
rc Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-12-01 11:04:13 +08:00
tuners xc2028: Fix use-after-free bug properly 2017-05-25 14:30:15 +02:00
usb Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-12-01 11:04:13 +08:00
v4l2-core media: v4l2buf: fix videobuf ext_lock locked 2017-12-15 09:07:01 +08:00
video camera: rockchip: cif: modify sensor register setting 2017-12-22 12:09:43 +08:00
Kconfig UPSTREAM: [media] cec: rename MEDIA_CEC_NOTIFIER to CEC_NOTIFIER 2017-12-27 16:38:53 +08:00
Makefile UPSTREAM: [media] cec: select CEC_CORE instead of depend on it 2017-12-27 16:38:53 +08:00
media-device.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
media-devnode.c
media-entity.c [media] media-entity.c: get rid of var length arrays 2015-10-01 18:10:05 -03:00