[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)
commit4808f721627c2a23b5d749f9bbd20d4529ea2b8d
treeeb12a0d0f6f53220754ef5c6318a1aa38479a009
parent8ac6a1a53e9f195e8c4336a7edfba2e102fc14bb
[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