Skip to content

Commit 806e0cd

Browse files
Hans Verkuilmchehab
authored andcommitted
media: cec.h: CEC_OP_REC_FLAG_ values were swapped
CEC_OP_REC_FLAG_NOT_USED is 0 and CEC_OP_REC_FLAG_USED is 1, not the other way around. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reported-by: Jiunn Chang <c0d1n61at3@gmail.com> Cc: <stable@vger.kernel.org> # for v4.10 and up Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
1 parent b52c2ed commit 806e0cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/uapi/linux/cec.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,8 +768,8 @@ struct cec_event {
768768
#define CEC_MSG_SELECT_DIGITAL_SERVICE 0x93
769769
#define CEC_MSG_TUNER_DEVICE_STATUS 0x07
770770
/* Recording Flag Operand (rec_flag) */
771-
#define CEC_OP_REC_FLAG_USED 0
772-
#define CEC_OP_REC_FLAG_NOT_USED 1
771+
#define CEC_OP_REC_FLAG_NOT_USED 0
772+
#define CEC_OP_REC_FLAG_USED 1
773773
/* Tuner Display Info Operand (tuner_display_info) */
774774
#define CEC_OP_TUNER_DISPLAY_INFO_DIGITAL 0
775775
#define CEC_OP_TUNER_DISPLAY_INFO_NONE 1

0 commit comments

Comments
 (0)