diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-05-21 10:45:44 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-02 14:08:09 +0200 |
commit | d170ebb00472268410dce80ae4834c98e79315da (patch) | |
tree | b1e8de2b203f4d0160fb1f9fbc19dc8cc7869ba9 /include/uapi/linux/cec-funcs.h | |
parent | bf950fdc71fe756ea6407f2cbf6ce051b8f5ea07 (diff) |
media: uapi/linux/cec-funcs.h: set delay to 1 if unnused
If the audio_out_delay value is unused, then set it to 1, not 0.
The value 0 is reserved, and 1 is a much safer value since it
translates to a delay of (1 - 1) * 2 = 0 ms.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/uapi/linux/cec-funcs.h')
-rw-r--r-- | include/uapi/linux/cec-funcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/cec-funcs.h b/include/uapi/linux/cec-funcs.h index 37590027b604..c3baaea0b8ef 100644 --- a/include/uapi/linux/cec-funcs.h +++ b/include/uapi/linux/cec-funcs.h @@ -1665,7 +1665,7 @@ static inline void cec_ops_report_current_latency(const struct cec_msg *msg, if (*audio_out_compensated == 3 && msg->len >= 7) *audio_out_delay = msg->msg[6]; else - *audio_out_delay = 0; + *audio_out_delay = 1; } static inline void cec_msg_request_current_latency(struct cec_msg *msg, |