media: cec: core: add new CEC_MSG_FL_REPLY_VENDOR_ID flagIf this flag is set, then the reply is expected to consist ofthe CEC_MSG_VENDOR_COMMAND_WITH_ID opcode followed by the Vendor ID (asused i
media: cec: core: add new CEC_MSG_FL_REPLY_VENDOR_ID flagIf this flag is set, then the reply is expected to consist ofthe CEC_MSG_VENDOR_COMMAND_WITH_ID opcode followed by the Vendor ID (asused in bytes 1-4 of the message), followed by the struct cec_msg replyfield.Note that this assumes that the byte after the Vendor ID is avendor-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 newCEC_CAP_REPLY_VENDOR_ID capability.Signed-off-by: Hans Verkuil <[email protected]>Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
media: cec: return -ENODEV instead of -ENXIO if unregisteredIf the CEC device is unregistered, then an attempt to openthe device node should result in an -ENODEV error instead of-ENXIO.Document
media: cec: return -ENODEV instead of -ENXIO if unregisteredIf the CEC device is unregistered, then an attempt to openthe device node should result in an -ENODEV error instead of-ENXIO.Document this as well in cec-func-open.rst.This is consistent with the error code returned by otherfile operations such as ioctl.Signed-off-by: Hans Verkuil <[email protected]>
media: doc: properly format ToC headings"class:: toc-title" was a workaround for older Sphinx versions that areno longer supported.The canonical way to add a heading to the ToC is to use :captio
media: doc: properly format ToC headings"class:: toc-title" was a workaround for older Sphinx versions that areno longer supported.The canonical way to add a heading to the ToC is to use :caption:.Do that.Cc: Mauro Carvalho Chehab <[email protected]>Cc: [email protected]Signed-off-by: Vegard Nossum <[email protected]>Signed-off-by: Jonathan Corbet <[email protected]>Link: https://lore.kernel.org/r/[email protected]
media: admin-guide: cec.rstDocument administration details about CEC devices. This was formerlydocumented in a cec-status.txt I kept on my website, but this reallybelongs here as an admin guide.
media: admin-guide: cec.rstDocument administration details about CEC devices. This was formerlydocumented in a cec-status.txt I kept on my website, but this reallybelongs here as an admin guide.Updated the original cec-status.txt, and converted it to .rst.Signed-off-by: Hans Verkuil <[email protected]>Signed-off-by: Mauro Carvalho Chehab <[email protected]>
media: cec-ioc-receive.rst: clarify sequence and status fieldsImprove the documentation for CEC_RECEIVE/TRANSMIT w.r.t. thesequence and tx/rx_status fields.Also remove a duplicate tx_status desc
media: cec-ioc-receive.rst: clarify sequence and status fieldsImprove the documentation for CEC_RECEIVE/TRANSMIT w.r.t. thesequence and tx/rx_status fields.Also remove a duplicate tx_status description.Signed-off-by: Hans Verkuil <[email protected]>Signed-off-by: Mauro Carvalho Chehab <[email protected]>
media: cec/core: clarify rx-arb-lost usage messageThe rx-arb-lost error injection command only works with <op> set to 'any'.Explicitly say so in the usage message.Also use [] to indicate that th
media: cec/core: clarify rx-arb-lost usage messageThe rx-arb-lost error injection command only works with <op> set to 'any'.Explicitly say so in the usage message.Also use [] to indicate that the <poll> argument is optional.Signed-off-by: Hans Verkuil <[email protected]>Signed-off-by: Mauro Carvalho Chehab <[email protected]>
media: docs: uAPI: fix table output in LaTeX/PDF formatThere are lots of tables that are not properly displayedin LaTeX/PDF.Fix the tablecolumns, add longtable where needed and LaTeXformatting
media: docs: uAPI: fix table output in LaTeX/PDF formatThere are lots of tables that are not properly displayedin LaTeX/PDF.Fix the tablecolumns, add longtable where needed and LaTeXformatting macros, in order to address such issues.Signed-off-by: Mauro Carvalho Chehab <[email protected]>
media: cec-core.rst/cec-ioc-g-mode.rst: fix typos in monitor-all descriptioncec-core.rst was missing 'are', and cec-ioc-g-mode.rst was missinga comma.In both cases this made the description of t
media: cec-core.rst/cec-ioc-g-mode.rst: fix typos in monitor-all descriptioncec-core.rst was missing 'are', and cec-ioc-g-mode.rst was missinga comma.In both cases this made the description of the Monitor All functionalityhard to read.Signed-off-by: Hans Verkuil <[email protected]>Signed-off-by: Mauro Carvalho Chehab <[email protected]>
media: docs: make CEC documents compatible with Sphinx 3.1+Sphinx 3.x broke support for the cdomain.py extension, as thec domain code was rewritten. Due to that, the c tags need tobe re-written,
media: docs: make CEC documents compatible with Sphinx 3.1+Sphinx 3.x broke support for the cdomain.py extension, as thec domain code was rewritten. Due to that, the c tags need tobe re-written, in order to use the new c domain notation.Signed-off-by: Mauro Carvalho Chehab <[email protected]>
media: docs: use the new SPDX header for GFDL-1.1 on *.rst filesSPDX v3.10 gained support for GFDL-1.1 with no invariant sections: https://spdx.org/licenses/GFDL-1.1-no-invariants-or-later.html
media: docs: use the new SPDX header for GFDL-1.1 on *.rst filesSPDX v3.10 gained support for GFDL-1.1 with no invariant sections: https://spdx.org/licenses/GFDL-1.1-no-invariants-or-later.htmlSo, remove the license text, replacing them by this new SPDXlicense.Signed-off-by: Mauro Carvalho Chehab <[email protected]>
media: cec-ioc-adap-g-caps.rst: document available_log_addrsThe CEC_ADAP_G_CAPS documentation of the cec_caps struct was missingthe available_log_addrs field. Add this.Signed-off-by: Hans Verkui
media: cec-ioc-adap-g-caps.rst: document available_log_addrsThe CEC_ADAP_G_CAPS documentation of the cec_caps struct was missingthe available_log_addrs field. Add this.Signed-off-by: Hans Verkuil <[email protected]>Signed-off-by: Mauro Carvalho Chehab <[email protected]>
media: docs: move uAPI book to userspace-api/mediaSince 2017, there is an space reserved for userspace API,created by changeset 1d596dee3862 ("docs: Create a user-space API guide").As the media
media: docs: move uAPI book to userspace-api/mediaSince 2017, there is an space reserved for userspace API,created by changeset 1d596dee3862 ("docs: Create a user-space API guide").As the media subsystem was one of the first subsystems to useSphinx, until this patch, we were keeping things on a separateplace.Let's just use the new location, as having all uAPI altogetherwill likely make things easier for developers.Signed-off-by: Mauro Carvalho Chehab <[email protected]>