From: Hans Verkuil Date: Mon, 16 Sep 2019 05:47:41 +0000 (-0300) Subject: media: cec.h: CEC_OP_REC_FLAG_ values were swapped X-Git-Tag: v4.19.90~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aedc1c75ff6affa30e37e7d1a3a48d6686eefe6f;p=platform%2Fkernel%2Flinux-rpi.git media: cec.h: CEC_OP_REC_FLAG_ values were swapped commit 806e0cdfee0b99efbb450f9f6e69deb7118602fc upstream. 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 Reported-by: Jiunn Chang Cc: # for v4.10 and up Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/uapi/linux/cec.h b/include/uapi/linux/cec.h index 3094af6..d6ba688 100644 --- a/include/uapi/linux/cec.h +++ b/include/uapi/linux/cec.h @@ -767,8 +767,8 @@ struct cec_event { #define CEC_MSG_SELECT_DIGITAL_SERVICE 0x93 #define CEC_MSG_TUNER_DEVICE_STATUS 0x07 /* Recording Flag Operand (rec_flag) */ -#define CEC_OP_REC_FLAG_USED 0 -#define CEC_OP_REC_FLAG_NOT_USED 1 +#define CEC_OP_REC_FLAG_NOT_USED 0 +#define CEC_OP_REC_FLAG_USED 1 /* Tuner Display Info Operand (tuner_display_info) */ #define CEC_OP_TUNER_DISPLAY_INFO_DIGITAL 0 #define CEC_OP_TUNER_DISPLAY_INFO_NONE 1