]> git.baikalelectronics.ru Git - kernel.git/commit
media: uapi/linux/cec-funcs.h: set delay to 1 if unnused
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 21 May 2021 08:45:44 +0000 (10:45 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 2 Jun 2021 12:08:09 +0000 (14:08 +0200)
commit29999bed43693a3296aa6c0209bf348216f66b27
treeb1e8de2b203f4d0160fb1f9fbc19dc8cc7869ba9
parentedb1bd12b98fe74fd99b866bbf9bc80e8ec72938
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>
include/uapi/linux/cec-funcs.h