linux-uconsole/include
Hans Verkuil 36ada791c4 UPSTREAM: [media] cec: fix report_current_latency
In the (very) small print of the REPORT_CURRENT_LATENCY message there is a
line that says that the last byte of the message (audio out delay) is only
present if the 'audio out compensated' value is 3.

I missed this, and so if this message was sent with a total length of 6 (i.e.
without the audio out delay byte), then it was rejected by the framework
since a minimum length of 7 was expected.

Fix this minimum length check and update the wrappers in cec-funcs.h to do
the right thing based on the message length.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
(cherry picked from commit f3854973f1)

Change-Id: Iec4d9db94bb66194ec68c014a06f8b2d33f1dbdb
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
2017-11-06 17:54:41 +08:00
..
acpi UPSTREAM: device property: Avoid potential dereferences of invalid pointers 2017-08-30 14:50:28 +08:00
asm-generic 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
clocksource
crypto Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-04-23 12:02:14 +08:00
drm drm: move panel HDR metadata to drm_hdmi_info 2017-11-02 15:41:19 +08:00
dt-bindings dt-bindings: power: add RK3128 SoCs header for power-domain 2017-11-02 15:50:01 +08:00
keys
kvm
linux UPSTREAM: kasan: add functions to clear stack poison 2017-11-03 18:04:44 +08:00
math-emu
media UPSTREAM: [media] cec: pass parent device in register(), not allocate() 2017-11-06 17:52:50 +08:00
memory
misc
net BACKPORT: net: xfrm: support setting an output mark. 2017-10-15 23:54:33 +05:30
pcmcia
ras
rdma RDMA/core: Fix incorrect structure packing for booleans 2017-03-12 06:37:29 +01:00
rxrpc
scsi scsi: libiscsi: add lock around task lists to fix list corruption regression 2017-03-26 12:13:19 +02:00
soc PM / devfreq: rockchip_dmc: Allow to change frequency according to vop BW 2017-09-20 09:42:23 +08:00
sound 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
target iscsi-target: Fix iscsi_np reset hung task during parallel delete 2017-08-16 13:40:28 -07:00
trace BACKPORT: [media] v4l: Add metadata buffer type and format 2017-11-03 10:03:07 +08:00
uapi UPSTREAM: [media] cec: fix report_current_latency 2017-11-06 17:54:41 +08:00
video
xen fix xen_swiotlb_dma_mmap prototype 2017-10-05 09:41:48 +02:00
Kbuild