All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] media: cec/core: fixes and improvements
@ 2026-07-10 11:07 Hans Verkuil
  2026-07-10 11:07 ` [PATCH 1/8] media: cec/core: max_retries -> max_attempts Hans Verkuil
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Hans Verkuil @ 2026-07-10 11:07 UTC (permalink / raw)
  To: linux-media

Various cec core fixes and improvements.

Most notably the concept of 'core events' was dropped to simplify
the code and allow for more STATE_CHANGE events.

Also the process to claim a logical address was improved: retry
polling if a poll timed out or aborted instead of bailing out, and
if it was not possible to claim a logical address, then expose that
to userspace through a new flag.

A new error injection debugfs entry was added as well to allow
testing timeouts. A separate patch for cec-compliance will be
posted that tests this with the vivid driver.

Regards,

	Hans

Hans Verkuil (8):
  media: cec/core: max_retries -> max_attempts
  media: cec/core: drop ABORTED/TIMEOUT check
  media: cec/core: handle core events like normal events
  media: cec/core: drop cec_post_state_event call
  media: cec/core: flush stale STATE_CHANGE events
  media: cec/core: add a new CEC_LOG_ADDRS_FL_CONFIG_FAILED flag
  media: cec/core: cec-pin: toggle rx_toggle when arb lost
  media: cec/core: add error-inj-tx-timeouts debugfs entry

 .../media/cec/cec-ioc-adap-g-log-addrs.rst    |  7 ++
 drivers/media/cec/core/cec-adap.c             | 85 ++++++++++++-------
 drivers/media/cec/core/cec-api.c              |  5 +-
 drivers/media/cec/core/cec-core.c             | 31 +++++++
 drivers/media/cec/core/cec-pin.c              | 10 ++-
 include/media/cec.h                           |  4 +-
 include/uapi/linux/cec.h                      |  2 +
 7 files changed, 107 insertions(+), 37 deletions(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-07-10 11:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-10 11:07 [PATCH 0/8] media: cec/core: fixes and improvements Hans Verkuil
2026-07-10 11:07 ` [PATCH 1/8] media: cec/core: max_retries -> max_attempts Hans Verkuil
2026-07-10 11:07 ` [PATCH 2/8] media: cec/core: drop ABORTED/TIMEOUT check Hans Verkuil
2026-07-10 11:07 ` [PATCH 3/8] media: cec/core: handle core events like normal events Hans Verkuil
2026-07-10 11:07 ` [PATCH 4/8] media: cec/core: drop cec_post_state_event call Hans Verkuil
2026-07-10 11:07 ` [PATCH 5/8] media: cec/core: flush stale STATE_CHANGE events Hans Verkuil
2026-07-10 11:07 ` [PATCH 6/8] media: cec/core: add a new CEC_LOG_ADDRS_FL_CONFIG_FAILED flag Hans Verkuil
2026-07-10 11:07 ` [PATCH 7/8] media: cec/core: cec-pin: toggle rx_toggle when arb lost Hans Verkuil
2026-07-10 11:07 ` [PATCH 8/8] media: cec/core: add error-inj-tx-timeouts debugfs entry Hans Verkuil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.