]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cec-funcs.h: add missing vendor-specific messages
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 20 Aug 2016 10:54:38 +0000 (07:54 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 22 Aug 2016 17:05:49 +0000 (14:05 -0300)
commitb32845f7ceee0862ba2c3f0caa34c1ab7d893474
treeeb12a0d0f6f53220754ef5c6318a1aa38479a009
parentb69927d18bb0edfe27562df4df38357ee020a0e0
[media] cec-funcs.h: add missing vendor-specific messages

The cec-funcs.h header was missing support for these three vendor-specific messages:

CEC_MSG_VENDOR_COMMAND
CEC_MSG_VENDOR_COMMAND_WITH_ID
CEC_MSG_VENDOR_REMOTE_BUTTON_DOWN

Add wrappers for these messages.

I originally postponed adding these wrappers due to the fact that the argument is
just a byte array which cec-ctl couldn't handle at the time, and then I just forgot
to add them once the CEC framework was finalized.

It wasn't until an attempt to transmit a vendor specific command was made that I
realized that these wrappers were missing.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
include/linux/cec-funcs.h