mbox series

[GIT,PULL,FOR,v5.3] cec: various fixes/enhancements

Message ID b242ea68-4fb4-d5e7-2dd8-2aedf3521bc8@xs4all.nl (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL,FOR,v5.3] cec: various fixes/enhancements | expand

Pull-request

git://linuxtv.org/hverkuil/media_tree.git tags/br-cec-raw2

Message

Hans Verkuil May 22, 2019, 10:24 a.m. UTC
Various cec fixes and enhancements.

This includes an API addition: CEC_MSG_FL_RAW. This requires CAP_SYS_RAWIO
and when set skips all sanity checks except some core checks such as checking
the payload length.

This flag is typically used when debugging CEC issues with devices that do
not properly follow the specification.

Regards,

	Hans

The following changes since commit bc8c479a5b19bd44f7379e42e627170957985ee9:

  media: venus: helpers: fix dynamic buffer mode for v4 (2019-05-21 09:03:25 -0400)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-cec-raw2

for you to fetch changes up to 2505737aa94392958287c44104dc1e2d5c4ffc63:

  cec-ioc-g-mode.rst: be more specific when EPERM is returned (2019-05-22 11:24:38 +0200)

----------------------------------------------------------------
Tag branch

----------------------------------------------------------------
Hans Verkuil (9):
      cec: mark devnode as registered before actually registering it
      cec-gpio: use disable/enable_irq
      cec: cec_transmit_msg_fh: do sanity checks first
      cec: move check from cec_transmit to cec_transmit_msg_fh
      cec: add CEC_MSG_FL_RAW flag and msg_is_raw helper function
      cec-ioc-receive.rst: document CEC_MSG_FL_RAW
      cec: support CEC_MSG_FL_RAW
      cec: allow any initiator for Ping and Image/Text View On
      cec-ioc-g-mode.rst: be more specific when EPERM is returned

 Documentation/media/uapi/cec/cec-ioc-g-mode.rst  |   3 ++-
 Documentation/media/uapi/cec/cec-ioc-receive.rst |  15 +++++++++++-
 drivers/media/cec/cec-adap.c                     | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------
 drivers/media/cec/cec-api.c                      |   8 -------
 drivers/media/cec/cec-core.c                     |   3 ++-
 drivers/media/cec/cec-priv.h                     |   5 ++++
 drivers/media/platform/cec-gpio/cec-gpio.c       |  28 +++++++++--------------
 include/uapi/linux/cec.h                         |   1 +
 8 files changed, 107 insertions(+), 68 deletions(-)