diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-11-01 08:55:05 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-16 15:32:56 -0200 |
commit | adc0c622783978ab0c740af77f98fc8f65c87d66 (patch) | |
tree | 800c4fccd3da0fe3616b144d10c3e21ba208f695 /include | |
parent | f4062625ede8f0280d8246437f4070c8eb7fe9f3 (diff) | |
download | lwn-adc0c622783978ab0c740af77f98fc8f65c87d66.tar.gz lwn-adc0c622783978ab0c740af77f98fc8f65c87d66.zip |
[media] cec: add CEC_MSG_FL_REPLY_TO_FOLLOWERS
Give the caller more control over how replies to a transmit are
handled. By default the reply will only go to the filehandle that
called CEC_TRANSMIT. If this new flag is set, then the reply will
also go to all followers.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cec.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/cec.h b/include/linux/cec.h index 825455fae3cc..3f2f076027b1 100644 --- a/include/linux/cec.h +++ b/include/linux/cec.h @@ -175,7 +175,10 @@ static inline void cec_msg_set_reply_to(struct cec_msg *msg, msg->reply = msg->timeout = 0; } -/* cec status field */ +/* cec_msg flags field */ +#define CEC_MSG_FL_REPLY_TO_FOLLOWERS (1 << 0) + +/* cec_msg tx/rx_status field */ #define CEC_TX_STATUS_OK (1 << 0) #define CEC_TX_STATUS_ARB_LOST (1 << 1) #define CEC_TX_STATUS_NACK (1 << 2) |