linux-stable/drivers/media/cec
Nini Song 7611722dc5 media: cec: core: remove length check of Timer Status
commit ce5d241c3a upstream.

The valid_la is used to check the length requirements,
including special cases of Timer Status. If the length is
shorter than 5, that means no Duration Available is returned,
the message will be forced to be invalid.

However, the description of Duration Available in the spec
is that this parameter may be returned when these cases, or
that it can be optionally return when these cases. The key
words in the spec description are flexible choices.

Remove the special length check of Timer Status to fit the
spec which is not compulsory about that.

Signed-off-by: Nini Song <nini.song@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-17 11:19:26 +02:00
..
core media: cec: core: remove length check of Timer Status 2024-04-17 11:19:26 +02:00
i2c
platform media: cec: meson: always include meson sub-directory in Makefile 2023-11-20 11:59:33 +01:00
usb
Kconfig
Makefile