linux-uconsole/drivers
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
..
accessibility
acpi BACKPORT: device property: Introduce fwnode_property_get_reference_args 2017-11-27 14:12:20 +08:00
adc
amba
android Revert "ANDROID: binder: Add thread->process_todo flag." 2017-12-15 09:06:15 +08:00
ata 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
atm
auxdisplay
base UPSTREAM: regmap: Fix typo in IS_ENABLED() check 2017-12-13 16:14:37 +08:00
bcma bcma: use (get|put)_device when probing/removing device driver 2017-03-12 06:37:30 +01:00
block xen-blkback: don't leak stack data via response ring 2017-11-21 09:21:17 +01:00
bluetooth 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
bus bus: mbus: fix window size calculation for 4GB windows 2017-10-27 10:23:17 +02:00
cdrom
char ipmi: fix unsigned long underflow 2017-11-24 08:32:25 +01:00
cir
clk clk/rockchip: add cru support for rk618 2017-12-21 10:30:28 +08:00
clocksource 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
cmmb
connector
cpufreq 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
cpuidle Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2016-10-18 12:31:07 +08:00
crypto crypto: vmx - disable preemption to enable vsx in aes_ctr.c 2017-11-15 17:13:10 +01:00
dca
devfreq PM / devfreq: rockchip_dmc: add thermal control support 2017-12-26 19:46:01 +08:00
dio
dma 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
dma-buf UPSTREAM: dma-buf: add support for compat ioctl 2017-08-15 18:43:45 +08:00
edac
eisa
extcon 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
firewire firewire: net: fix fragmented datagram_size off-by-one 2016-11-10 16:36:35 +01:00
firmware firmware: rockchip_sip: add sip_smc_vpu_reset 2017-12-22 16:58:14 +08:00
fmc
fpga
gpio gpio: rockchip: Make the gpio base added at gpiolib 2017-12-22 16:08:01 +08:00
gpu drm/rockchip: dw-hdmi: fix 3328/3228 phy bus width 2017-12-27 16:34:05 +08:00
headset_observe rk_headset: fix NULL pointer 2017-11-10 11:52:56 +08:00
hid Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-11-20 20:53:19 +05:30
hsi
hv Drivers: hv: fcopy: restore correct transfer length 2017-10-12 11:27:33 +02:00
hwmon Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-11-02 17:00:07 +08:00
hwspinlock
hwtracing Merge tag 'v4.4.92' into linux-linaro-lsk-v4.4 2017-10-13 12:04:17 +08:00
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
ide
idle
iio 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
infiniband IB/srp: Avoid that a cable pull can trigger a kernel crash 2017-11-30 08:37:23 +00:00
input input: sensor-dev: fix compilation warning for !PM_SLEEP 2017-12-13 15:56:09 +08:00
iommu 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
ipack
irqchip 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
isdn isdn/i4l: fetch the ppp_write buffer in one shot 2017-10-21 17:09:02 +02:00
leds leds: leds-is31fl32xx: enable multi-control mode and solve register failed issue during reboot. 2017-12-13 18:36:20 +08:00
lguest
lightnvm
macintosh
mailbox rk: rm include/linux/rockchip/common.h 2017-11-17 14:55:40 +08:00
mcb
md Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-12-01 01:02:04 +08:00
media UPSTREAM: media: cec: rework the cec event handling 2017-12-27 16:38:53 +08:00
memory
memstick memstick: rtsx_usb_ms: Manage runtime PM when accessing the device 2016-10-28 03:01:35 -04:00
message
mfd mfd: Add support for rk618 2017-12-21 10:29:40 +08:00
misc 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 UPSTREAM: mmc: dw_mmc: Don't allow Runtime PM for SDIO cards 2017-12-11 14:16:23 +08:00
mtd LSK 17.07 v4.4-android 2017-07-26 19:32:04 +08:00
mtk_wcn_bt
mtk_wcn_combo
net net: wireless: rockchip_wlan: fix bcmdhd driver spin lock issue 2017-12-21 09:18:41 +08:00
nfc Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-11-02 17:00:07 +08:00
ntb ntb_transport: fix bug calculating num_qps_mw 2017-08-30 10:19:29 +02:00
nubus
nvdimm libnvdimm, namespace: make 'resource' attribute only readable by root 2017-11-30 08:37:23 +00:00
nvme 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
nvmem nvmem: rockchip-efuse: add support for rk3128-efuse 2017-09-05 18:24:43 +08:00
of BACKPORT: device property: Introduce fwnode_property_get_reference_args 2017-11-27 14:12:20 +08:00
oprofile
parisc parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo 2017-08-24 17:02:35 -07:00
parport parisc, parport_gsc: Fixes for printk continuation lines 2017-06-17 06:39:37 +02:00
pci 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
pcmcia
perf LSK 17.07 v4.4-android 2017-07-26 19:32:04 +08:00
phy phy/rockchip: mipi-dphy: support pinmux 2017-12-21 10:28:37 +08:00
pinctrl gpio: rockchip: Make the gpio base added at gpiolib 2017-12-22 16:08:01 +08: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
pnp
power PM / AVS: rockchip-io: add io selectors and supplies for px30 2017-12-06 21:18:22 +08:00
powercap
pps
ps3
ptp
pwm pwm: rockchip: Add rk3328 support 2017-08-31 10:26:00 +08:00
rapidio
ras
regulator regulator: rk808: rk816: fix up the DCDC and LDO setting off in sleep mode 2017-12-13 17:24:55 +08:00
remoteproc
reset
rk_nand drivers: rk_nand: add ftl code for Thumb instruction set 2017-12-27 11:32:00 +08:00
rpmsg
rtc rtc: remove an unused rk808 driver file 2017-12-07 18:58:32 +08:00
s390 s390/qeth: issue STARTLAN as first IPA command 2017-11-15 17:13:11 +01:00
sbus
scsi Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-11-22 12:01:54 +08:00
sfi
sh
smc
sn
soc rk_fiq_debugger: disable RLSI interrupt 2017-12-20 14:10:25 +08:00
spi 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
spmi spmi: Include OF based modalias in device uevent 2017-07-27 15:06:10 -07:00
ssb ssb: Fix error routine when fallback SPROM fails 2017-01-09 08:07:42 +01:00
staging fiq_debugger: rockchip: move uart_init to the last 2017-12-20 14:10:18 +08:00
switch drivers: switch: clear drvdata before device_destroy 2017-04-28 18:35:47 +08:00
target target: Fix QUEUE_FULL + SCSI task attribute handling 2017-11-30 08:37:22 +00:00
tc
tee Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-11-20 20:53:19 +05:30
testcode
thermal thermal: rk_virtual_thermal: fix memleak issue for rk3126 2017-12-20 17:06:12 +08:00
thunderbolt
tty 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
uio uio: fix dmem_region_start computation 2016-10-31 04:13:59 -06:00
usb ANDROID: usb: gadget: f_mtp: increase default Tx/Rx buf size to 64K 2017-12-22 17:27:40 +08:00
uwb uwb: ensure that endpoint is interrupt 2017-10-12 11:27:35 +02:00
vfio vfio-pci: Handle error from pci_iomap 2017-08-06 19:19:46 -07:00
vhost fix a page leak in vhost_scsi_iov_to_sgl() error recovery 2017-11-30 08:37:22 +00:00
video video: rockchip: vpu: fix set power idle failed 2017-12-27 15:47:31 +08:00
virt
virtio virtio_balloon: init 1st buffer in stats vq 2017-03-31 09:49:53 +02:00
vlynq
vme vme: Fix wrong pointer utilization in ca91cx42_slave_get 2017-01-19 20:17:21 +01:00
w1 Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-03-20 12:03:10 +08:00
watchdog 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
xen xen: xenbus driver must not accept invalid transaction ids 2017-11-30 08:37:28 +00:00
zorro
Kconfig LSK 17.07 v4.4-android 2017-07-26 19:32:04 +08:00
Makefile LSK 17.07 v4.4-android 2017-07-26 19:32:04 +08:00