media: cec/core: fixes and improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | media: cec/core: max_retries -> max_attemptsdrivers/ | +5 | 0 replies | |
| 2/8 | media: cec/core: drop ABORTED/TIMEOUT checkdrivers/ | +0 | 0 replies | |
| 3/8 | media: cec/core: handle core events like normal eventsdrivers/ drivers/ include/ | +18 | 0 replies | |
| 4/8 | media: cec/core: drop cec_post_state_event calldrivers/ | +0 | 0 replies | |
| 5/8 | media: cec/core: flush stale STATE_CHANGE eventsdrivers/ | +23 | 0 replies | |
| 6/8 | media: cec/core: add a new CEC_LOG_ADDRS_FL_CONFIG_FAILED flagDocumentation/ drivers/ include/ | +12 | 0 replies | |
| 7/8 | media: cec/core: cec-pin: toggle rx_toggle when arb lostdrivers/ | +9 | 0 replies | |
| 8/8 | media: cec/core: add error-inj-tx-timeouts debugfs entrydrivers/ drivers/ include/ | +40 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] media: cec/core: fixes and improvements
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(-)
Signature · 1 line
2.53.0