This series adds defines for the CEC UI Command Operand. I suspect
the reason these weren't added before was laziness :-)

Anyway, this adds them and uses the new defines in cec-adap.c.

I decided not to use them in drivers/media/rc/keymaps/rc-cec.c
since I think it would actually make that keymap table harder to
read and understand.

Once this is merged, then the cec utilities in v4l-utils can
start to use these defines as well.



Hans Verkuil (2):
  uapi/linux/cec.h: add defines for the CEC UI Command Operand
  cec/cec-adap.c: use new UI_CMD defines

 drivers/media/cec/cec-adap.c | 10 ++--
 include/uapi/linux/cec.h     | 89 ++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+), 3 deletions(-)


Reply via email to