[PATCH 0/9] cec: code and doc fixes/improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Hans Verkuil <hans.verkuil@xxxxxxxxx>

Besides various documentation and logging improvements, the main
addition to CEC is support for a special corner case:

When the physical address is invalid, it is still allowed by the CEC
specification to send messages from 0xf ('Unregistered') to 0 ('TV').

This is a workaround for devices that pull their HPD pin low when they
go into standby or switch to another input, even though CEC messages are
still working.

Regards,

	Hans

Hans Verkuil (9):
  cec: documentation fixes
  cec: improve flushing queue
  cec: allow specific messages even when unconfigured
  cec: return -EPERM when no LAs are configured
  cec: document the error codes
  cec: document the special unconfigured case
  cec: use __func__ in log messages.
  cec: improve cec_transmit_msg_fh logging
  cec: log reason for returning -EINVAL

 Documentation/media/uapi/cec/cec-func-ioctl.rst    |   2 +-
 Documentation/media/uapi/cec/cec-func-open.rst     |   2 +-
 Documentation/media/uapi/cec/cec-func-poll.rst     |   4 +-
 .../media/uapi/cec/cec-ioc-adap-g-log-addrs.rst    |  13 ++
 .../media/uapi/cec/cec-ioc-adap-g-phys-addr.rst    |  13 ++
 Documentation/media/uapi/cec/cec-ioc-dqevent.rst   |  13 +-
 Documentation/media/uapi/cec/cec-ioc-g-mode.rst    |  12 ++
 Documentation/media/uapi/cec/cec-ioc-receive.rst   |  55 ++++++++-
 drivers/media/cec/cec-adap.c                       | 134 +++++++++++++--------
 drivers/media/cec/cec-api.c                        |  21 +++-
 10 files changed, 208 insertions(+), 61 deletions(-)

-- 
2.11.0




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux