summaryrefslogtreecommitdiff
path: root/include/uapi/linux/cec-funcs.h (follow)
Commit message (Collapse)AuthorAge
* [media] cec: fix report_current_latencyHans Verkuil2017-05-25
| | | | | | | | | | | | | | | | | | | | 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. Change-Id: I123cc5fc2b6baca8cb2910bc687489329e81ca73 Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Git-commit: f3854973f196baad5be6b62d8f5ea24b0346b63f Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git Signed-off-by: Ray Zhang <rayz@codeaurora.org>
* [media] cec: move the CEC framework out of staging and to mediaHans Verkuil2017-05-25
The last open issues have been addressed, so it is time to move this out of staging and into the mainline and to move the public cec headers to include/uapi/linux. Conflicts: Documentation/media/Makefile drivers/media/i2c/Kconfig drivers/media/platform/vivid/Kconfig drivers/staging/media/Makefile drivers/staging/media/pulse8-cec/Kconfig drivers/staging/media/s5p-cec/Kconfig drivers/staging/media/st-cec/Kconfig Change-Id: Ie46e780a7d29d773dbb9bd642059695eb580e8ad Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Git-commit: 0dbacebede1e4e44bf500f94d692fad05eb2c293 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git [rayz@codeaurora.org: make some modifications to the original patch to fix the cherry-pick conflicts. (1) discard the changes in Documentation. (2) discard the CEC adapter driver changes for other vendors because they are not needed.] Signed-off-by: Ray Zhang <rayz@codeaurora.org>