diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-04-23 15:44:59 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-05-23 12:32:40 +0300 |
commit | aa50accfda60468fd132573b8f83e158ff45cb3d (patch) | |
tree | 1a3196648aafd9063cfc430555b7aef583003ac5 /include/uapi/linux/cec.h | |
parent | e76cbec85eac714a93a7945c9c41dcd8819b31c5 (diff) | |
download | linux-aa50accfda60468fd132573b8f83e158ff45cb3d.tar.xz |
media: cec: add CEC_MSG_FL_RAW flag and msg_is_raw helper function
This adds the userspace API to send raw unchecked CEC messages.
This will require root permissions.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/uapi/linux/cec.h')
-rw-r--r-- | include/uapi/linux/cec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/cec.h b/include/uapi/linux/cec.h index 3094af68b6e7..5704fa0292b5 100644 --- a/include/uapi/linux/cec.h +++ b/include/uapi/linux/cec.h @@ -144,6 +144,7 @@ static inline void cec_msg_set_reply_to(struct cec_msg *msg, /* cec_msg flags field */ #define CEC_MSG_FL_REPLY_TO_FOLLOWERS (1 << 0) +#define CEC_MSG_FL_RAW (1 << 1) /* cec_msg tx/rx_status field */ #define CEC_TX_STATUS_OK (1 << 0) |