History

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.

Hans Verkuil committed 7 years ago

Commit 806e0cd1 parent b52c2ed1 file · +2 −2Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/cec.h+2−2
@@ -768,8 +768,8 @@ struct cec_event { · 767 unmodified lines
768#define CEC_MSG_SELECT_DIGITAL_SERVICE 0x93768#define CEC_MSG_SELECT_DIGITAL_SERVICE 0x93
769#define CEC_MSG_TUNER_DEVICE_STATUS 0x07769#define CEC_MSG_TUNER_DEVICE_STATUS 0x07
770/* Recording Flag Operand (rec_flag) */770/* Recording Flag Operand (rec_flag) */
771#define CEC_OP_REC_FLAG_USED 0771#define CEC_OP_REC_FLAG_NOT_USED 0
772#define CEC_OP_REC_FLAG_NOT_USED 1772#define CEC_OP_REC_FLAG_USED 1
773/* Tuner Display Info Operand (tuner_display_info) */773/* Tuner Display Info Operand (tuner_display_info) */
774#define CEC_OP_TUNER_DISPLAY_INFO_DIGITAL 0774#define CEC_OP_TUNER_DISPLAY_INFO_DIGITAL 0
775#define CEC_OP_TUNER_DISPLAY_INFO_NONE 1775#define CEC_OP_TUNER_DISPLAY_INFO_NONE 1