summaryrefslogtreecommitdiff
path: root/Documentation/userspace-api/media/cec/cec-ioc-adap-g-caps.rst
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2024-07-04 12:01:51 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2024-08-05 10:38:46 +0300
commit613f21505b25a4f43f33de00f11afc059bedde2b (patch)
treefe603623e245856201df3baa5af38ba1f80c8e4e /Documentation/userspace-api/media/cec/cec-ioc-adap-g-caps.rst
parent2c25dcc2361949bc7da730d22de36c019c6bf1e3 (diff)
downloadlinux-613f21505b25a4f43f33de00f11afc059bedde2b.tar.xz
media: cec: core: add new CEC_MSG_FL_REPLY_VENDOR_ID flag
If this flag is set, then the reply is expected to consist of the CEC_MSG_VENDOR_COMMAND_WITH_ID opcode followed by the Vendor ID (as used in bytes 1-4 of the message), followed by the struct cec_msg reply field. Note that this assumes that the byte after the Vendor ID is a vendor-specific opcode. This flag makes it easier to wait for replies to vendor commands, using the same CEC framework support for waiting for regular replies. Support for this flag is indicated by setting the new CEC_CAP_REPLY_VENDOR_ID capability. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/userspace-api/media/cec/cec-ioc-adap-g-caps.rst')
-rw-r--r--Documentation/userspace-api/media/cec/cec-ioc-adap-g-caps.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/userspace-api/media/cec/cec-ioc-adap-g-caps.rst b/Documentation/userspace-api/media/cec/cec-ioc-adap-g-caps.rst
index d5e014ce19b5..1d5248979a6d 100644
--- a/Documentation/userspace-api/media/cec/cec-ioc-adap-g-caps.rst
+++ b/Documentation/userspace-api/media/cec/cec-ioc-adap-g-caps.rst
@@ -137,6 +137,12 @@ returns the information to the application. The ioctl never fails.
- 0x00000100
- If this capability is set, then :ref:`CEC_ADAP_G_CONNECTOR_INFO` can
be used.
+ * .. _`CEC-CAP-REPLY-VENDOR-ID`:
+
+ - ``CEC_CAP_REPLY_VENDOR_ID``
+ - 0x00000200
+ - If this capability is set, then
+ :ref:`CEC_MSG_FL_REPLY_VENDOR_ID <cec-msg-flags>` can be used.
Return Value
============